Skip to content

Commit 7ae7a91

Browse files
author
Chris Bertinato
committed
Fixed test
1 parent e27ad0f commit 7ae7a91

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/tests/scalar/test_nat.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ def test_nat_iso_format(get_nat):
141141

142142

143143
@pytest.mark.parametrize("klass,expected", [
144-
(Timestamp, ["freqstr", "normalize", "to_julian_date", "to_period", "tz"]),
145-
(Timedelta, ["components", "delta", "is_populated", "to_pytimedelta",
146-
"to_timedelta64", "view"])
144+
(Timestamp, ["freqstr", "normalize", "to_julian_date", "to_numpy",
145+
"to_period", "tz"]),
146+
(Timedelta, ["components", "delta", "is_populated", "to_numpy",
147+
"to_pytimedelta", "to_timedelta64", "view"])
147148
])
148149
def test_missing_public_nat_methods(klass, expected):
149150
# see gh-17327

0 commit comments

Comments
 (0)