Skip to content

Commit 367d2a8

Browse files
authored
BUG: Fix NameError in tab complete warning test (#51485)
1 parent 592e34f commit 367d2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/categorical/test_warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async def test_tab_complete_warning(self, ip):
1212
pytest.importorskip("IPython", minversion="6.0.0")
1313
from IPython.core.completer import provisionalcompleter
1414

15-
code = "import pandas as pd; c = Categorical([])"
15+
code = "import pandas as pd; c = pd.Categorical([])"
1616
await ip.run_code(code)
1717

1818
# GH 31324 newer jedi version raises Deprecation warning;

0 commit comments

Comments
 (0)