Skip to content

Commit d78c2b1

Browse files
committed
TST: test that importing toolz.compatibility warns
1 parent 1274bdd commit d78c2b1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

toolz/tests/test_compatibility.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
import toolz.compatibility
1+
import pytest
2+
3+
4+
def test_compat_warn():
5+
with pytest.warns(DeprecationWarning):
6+
import toolz.compatibility

0 commit comments

Comments
 (0)