Skip to content

Commit a89721e

Browse files
committed
import again
1 parent 9eeb6a6 commit a89721e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/api/test_types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ def test_moved_infer_dtype():
6060
# del from sys.modules to ensure we try to freshly load.
6161
# if this was imported from another test previously, we would
6262
# not see the warning, since the import is otherwise cached.
63-
6463
sys.modules.pop("pandas.lib", None)
6564

6665
with tm.assert_produces_warning(FutureWarning):
66+
import pandas.lib
67+
6768
e = pandas.lib.infer_dtype('foo')
6869
assert e is not None

0 commit comments

Comments
 (0)