Skip to content

Commit 0621f9f

Browse files
committed
TST: fix date parsing issue in test_frame/test_replace_datetime
1 parent 0bd7abc commit 0621f9f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pandas/tests/test_frame.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8517,13 +8517,13 @@ def test_replace_period(self):
85178517

85188518
def test_replace_datetime(self):
85198519
d = {'fname':
8520-
{'out_augmented_AUG_2011.json': pd.Timestamp('2011/08'),
8521-
'out_augmented_JAN_2011.json': pd.Timestamp('2011/01'),
8522-
'out_augmented_MAY_2012.json': pd.Timestamp('2012/05'),
8523-
'out_augmented_SUBSIDY_WEEK.json': pd.Timestamp('2011/04'),
8524-
'out_augmented_AUG_2012.json': pd.Timestamp('2012/08'),
8525-
'out_augmented_MAY_2011.json': pd.Timestamp('2011/05'),
8526-
'out_augmented_SEP_2013.json': pd.Timestamp('2013/09')}}
8520+
{'out_augmented_AUG_2011.json': pd.Timestamp('2011-08'),
8521+
'out_augmented_JAN_2011.json': pd.Timestamp('2011-01'),
8522+
'out_augmented_MAY_2012.json': pd.Timestamp('2012-05'),
8523+
'out_augmented_SUBSIDY_WEEK.json': pd.Timestamp('2011-04'),
8524+
'out_augmented_AUG_2012.json': pd.Timestamp('2012-08'),
8525+
'out_augmented_MAY_2011.json': pd.Timestamp('2011-05'),
8526+
'out_augmented_SEP_2013.json': pd.Timestamp('2013-09')}}
85278527

85288528
df = pd.DataFrame(['out_augmented_AUG_2012.json',
85298529
'out_augmented_SEP_2013.json',

0 commit comments

Comments
 (0)