We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dcce7a commit ba9b182Copy full SHA for ba9b182
toolz/tests/test_compatibility.py
@@ -1,6 +1,10 @@
1
-import pytest
2
+import pytest
3
+import importlib
4
5
def test_compat_warn():
6
with pytest.warns(DeprecationWarning):
7
+ # something else is importing this,
8
import toolz.compatibility
9
+ # reload to be sure we warn
10
+ importlib.reload(toolz.compatibility)
0 commit comments