Skip to content

Commit 4b0a3f5

Browse files
update test
1 parent 16119e7 commit 4b0a3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/tslibs/test_timezones.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_maybe_get_tz_invalid_types():
141141
with pytest.raises(TypeError, match="<class 'module'>"):
142142
timezones.maybe_get_tz(pytz)
143143

144-
msg = "<class 'pandas._libs.tslibs.timestamps.Timestamp'>"
144+
msg = "<class 'pandas.Timestamp'>"
145145
with pytest.raises(TypeError, match=msg):
146146
timezones.maybe_get_tz(Timestamp("2021-01-01", tz="UTC"))
147147

0 commit comments

Comments
 (0)