Skip to content

Commit 1ba7a01

Browse files
committed
Remove first person
1 parent 197bf77 commit 1ba7a01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexes/datetimes/test_tools.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ def test_error_iso_week_year(self, msg, s, _format):
297297
# However, as discussed on PR#25541, overriding the locale
298298
# causes a different error to be thrown due to the format being
299299
# locale specific, but the test data is in english.
300-
# Thus, a hack I did was to only run this test if locale was not
301-
# overwritten.
300+
# Therefore, the tests only run when locale is not overwritten,
301+
# as a sort of solution to this problem.
302302
if (locale.getlocale() != ('zh_CN', 'UTF-8') and
303303
locale.getlocale() != ('it_IT', 'UTF-8')):
304304
with pytest.raises(ValueError, match=msg):

0 commit comments

Comments
 (0)