Skip to content

Commit

Permalink
Fix test_nat_doc_strings
Browse files Browse the repository at this point in the history
  • Loading branch information
fbourgey committed Sep 13, 2024
1 parent 86645e2 commit 9d09658
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/tests/scalar/test_nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ def test_nat_doc_strings(compare):
"Ignore differences with Timestamp.isoformat() as they're intentional"
)

if klass == Timedelta and method == "total_seconds":
pytest.skip("Ignore difference")

if method == "to_numpy":
# GH#44460 can return either dt64 or td64 depending on dtype,
# different docstring is intentional
Expand Down

0 comments on commit 9d09658

Please sign in to comment.