Skip to content

Commit 9d09658

Browse files
committed
Fix test_nat_doc_strings
1 parent 86645e2 commit 9d09658

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/scalar/test_nat.py

+3
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,9 @@ def test_nat_doc_strings(compare):
326326
"Ignore differences with Timestamp.isoformat() as they're intentional"
327327
)
328328

329+
if klass == Timedelta and method == "total_seconds":
330+
pytest.skip("Ignore difference")
331+
329332
if method == "to_numpy":
330333
# GH#44460 can return either dt64 or td64 depending on dtype,
331334
# different docstring is intentional

0 commit comments

Comments
 (0)