Skip to content

Commit 24f4bc7

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ef6316f commit 24f4bc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/_libs/tslibs/timestamps.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2495,7 +2495,7 @@ default 'raise'
24952495
rep_reso = NPY_DATETIMEUNIT.NPY_FR_ns
24962496
if tzinfo is not object:
24972497
tzobj = tzinfo
2498-
2498+
24992499
if rep_reso < self._creso:
25002500
rep_reso = self._creso
25012501

pandas/tests/scalar/timestamp/methods/test_replace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_replace_preserves_fold(self, fold):
191191
assert ts_replaced.fold == fold
192192

193193
def test_replace_unit(self):
194-
#GH#57749
194+
# GH#57749
195195
ts = Timestamp("2023-07-15 23:08:12")
196196
ts1 = Timestamp("2023-07-15 23:08:12.134567")
197197
ts2 = Timestamp("2023-07-15 23:08:12.134567123")

0 commit comments

Comments
 (0)