Skip to content

Commit f2f9614

Browse files
Jonathan EliashivJonathan Eliashiv
Jonathan Eliashiv
authored and
Jonathan Eliashiv
committed
lint
1 parent 30a6b0e commit f2f9614

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/tests/io/json/test_pandas.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ def test_tz_is_localized(self, ts):
12111211
assert dumps(ts, iso_dates=True) == exp
12121212
dt = ts.to_pydatetime()
12131213
assert dumps(dt, iso_dates=True) == exp
1214-
1214+
12151215
@pytest.mark.parametrize(
12161216
"tz_range",
12171217
[
@@ -1234,7 +1234,7 @@ def test_tz_range_is_utc(self, tz_range):
12341234
df = DataFrame({"DT": dti})
12351235
result = dumps(df, iso_dates=True)
12361236
assert result == dfexp
1237-
1237+
12381238
@pytest.mark.parametrize(
12391239
"tz_range",
12401240
[

pandas/tests/io/json/test_ujson.py

+1-1
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(2021, 5, 25, 10, 12, 15, 343243, \
394+
test = datetime.datetime(2021, 5, 25, 10, 12, 15, 343243,
395395
pytz.timezone('US/Eastern'))
396396
output = ujson.encode(test, iso_dates=True, date_unit='us')
397397
expected = f'"{test.isoformat()}"'

0 commit comments

Comments
 (0)