Skip to content

Commit 279d55d

Browse files
authored
TST: Remove broken test for deprecated functionality (#38707)
1 parent 51941bd commit 279d55d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/plotting/test_converter.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ def test_timtetonum_accepts_unicode():
5454

5555

5656
class TestRegistration:
57-
def test_register_by_default(self):
57+
def test_dont_register_by_default(self):
5858
# Run in subprocess to ensure a clean state
5959
code = (
60-
"'import matplotlib.units; "
60+
"import matplotlib.units; "
6161
"import pandas as pd; "
6262
"units = dict(matplotlib.units.registry); "
63-
"assert pd.Timestamp in units)'"
63+
"assert pd.Timestamp not in units"
6464
)
6565
call = [sys.executable, "-c", code]
6666
assert subprocess.check_call(call) == 0

0 commit comments

Comments
 (0)