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 9eeb6a6 commit a89721eCopy full SHA for a89721e
pandas/tests/api/test_types.py
@@ -60,9 +60,10 @@ def test_moved_infer_dtype():
60
# del from sys.modules to ensure we try to freshly load.
61
# if this was imported from another test previously, we would
62
# not see the warning, since the import is otherwise cached.
63
-
64
sys.modules.pop("pandas.lib", None)
65
66
with tm.assert_produces_warning(FutureWarning):
+ import pandas.lib
67
+
68
e = pandas.lib.infer_dtype('foo')
69
assert e is not None
0 commit comments