Skip to content

Commit 7044aa1

Browse files
committed
wip
1 parent 0422152 commit 7044aa1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/tests/scalar/timedelta/test_arithmetic.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -1210,10 +1210,7 @@ def _hash_invariance_upheld(v1: Hashable, v2: Hashable) -> bool:
12101210
return hash(v1) == hash(v2)
12111211

12121212
for unit in unit_choices:
1213-
pd_td = Timedelta(value, unit)
1214-
np_td = np.timedelta64(value)
1215-
1216-
assert _hash_invariance_upheld(pd_td, np_td)
1213+
assert _hash_invariance_upheld(Timedelta(value, unit), np.timedelta64(value))
12171214

12181215

12191216
def test_ops_notimplemented():

0 commit comments

Comments
 (0)