We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51941bd commit 279d55dCopy full SHA for 279d55d
pandas/tests/plotting/test_converter.py
@@ -54,13 +54,13 @@ def test_timtetonum_accepts_unicode():
54
55
56
class TestRegistration:
57
- def test_register_by_default(self):
+ def test_dont_register_by_default(self):
58
# Run in subprocess to ensure a clean state
59
code = (
60
- "'import matplotlib.units; "
+ "import matplotlib.units; "
61
"import pandas as pd; "
62
"units = dict(matplotlib.units.registry); "
63
- "assert pd.Timestamp in units)'"
+ "assert pd.Timestamp not in units"
64
)
65
call = [sys.executable, "-c", code]
66
assert subprocess.check_call(call) == 0
0 commit comments