Skip to content

Commit 3b5d221

Browse files
Jonathan EliashivJonathan Eliashiv
authored andcommitted
fix test
1 parent 9983b93 commit 3b5d221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/json/test_ujson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def test_encode_time_conversion_basic(self, test):
391391

392392
def test_encode_time_conversion_pytz(self):
393393
# see gh-11473: to_json segfaults with timezone-aware datetimes
394-
test = datetime.datetime(10, 12, 15, 343243, pytz.timezone('US/Eastern'))
394+
test = datetime.datetime(2021, 5, 25, 10, 12, 15, 343243, pytz.timezone('US/Eastern'))
395395
output = ujson.encode(test, iso_dates=True, date_unit='us')
396396
expected = f'"{test.isoformat()}"'
397397
assert expected == output

0 commit comments

Comments
 (0)