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 3dcf0ad commit f919f98Copy full SHA for f919f98
tests/test_utils.py
@@ -86,7 +86,7 @@ def test_timedelta_to_str():
86
assert round_td_str(pd.Timedelta("1128.9us")) == "1ms"
87
assert round_td_str(pd.Timedelta("128.9us")) == "129us"
88
assert round_td_str((pd.Timedelta("14ns"))) == "14ns"
89
- assert round_td_str((pd.Timedelta("0ns"))) == None
+ assert round_td_str((pd.Timedelta("0ns"))) is None
90
91
92
def test_round_int_str():
@@ -110,4 +110,4 @@ def test_round_int_str():
110
assert round_number_str(950_001) == "1M"
111
assert round_number_str(1_950_001) == "2M"
112
assert round_number_str(111_950_001) == "112M"
113
- assert round_number_str(0) == None
+ assert round_number_str(0) is None
0 commit comments