Skip to content

Commit 6e176a1

Browse files
author
MomIsBestFriend
committed
Reverted some strings back to the original
1 parent 99250e8 commit 6e176a1

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

pandas/tests/arrays/categorical/test_repr.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ def test_categorical_repr_datetime(self):
151151
"[2011-01-01 09:00:00, 2011-01-01 10:00:00, 2011-01-01 11:00:00, "
152152
"2011-01-01 12:00:00, 2011-01-01 13:00:00]\n"
153153
"Categories (5, datetime64[ns]): [2011-01-01 09:00:00, "
154-
"2011-01-01 10:00:00, 2011-01-01 11:00:00,"
155-
"\n "
156-
"2011-01-01 12:00:00, "
154+
"2011-01-01 10:00:00, 2011-01-01 11:00:00,\n"
155+
" 2011-01-01 12:00:00, "
157156
"2011-01-01 13:00:00]"
158157
""
159158
)
@@ -166,8 +165,8 @@ def test_categorical_repr_datetime(self):
166165
"2011-01-01 10:00:00, 2011-01-01 11:00:00, 2011-01-01 12:00:00, "
167166
"2011-01-01 13:00:00]\n"
168167
"Categories (5, datetime64[ns]): [2011-01-01 09:00:00, "
169-
"2011-01-01 10:00:00, 2011-01-01 11:00:00,"
170-
"\n 2011-01-01 12:00:00, "
168+
"2011-01-01 10:00:00, 2011-01-01 11:00:00,\n"
169+
" 2011-01-01 12:00:00, "
171170
"2011-01-01 13:00:00]"
172171
)
173172

@@ -180,10 +179,10 @@ def test_categorical_repr_datetime(self):
180179
"2011-01-01 11:00:00-05:00, 2011-01-01 12:00:00-05:00, "
181180
"2011-01-01 13:00:00-05:00]\n"
182181
"Categories (5, datetime64[ns, US/Eastern]): "
183-
"[2011-01-01 09:00:00-05:00, 2011-01-01 10:00:00-05:00,"
184-
"\n "
185-
"2011-01-01 11:00:00-05:00, 2011-01-01 12:00:00-05:00,"
186-
"\n "
182+
"[2011-01-01 09:00:00-05:00, 2011-01-01 10:00:00-05:00,\n"
183+
" "
184+
"2011-01-01 11:00:00-05:00, 2011-01-01 12:00:00-05:00,\n"
185+
" "
187186
"2011-01-01 13:00:00-05:00]"
188187
)
189188

@@ -197,10 +196,10 @@ def test_categorical_repr_datetime(self):
197196
"2011-01-01 10:00:00-05:00, 2011-01-01 11:00:00-05:00, "
198197
"2011-01-01 12:00:00-05:00, 2011-01-01 13:00:00-05:00]\n"
199198
"Categories (5, datetime64[ns, US/Eastern]): "
200-
"[2011-01-01 09:00:00-05:00, 2011-01-01 10:00:00-05:00,"
201-
"\n "
202-
"2011-01-01 11:00:00-05:00, 2011-01-01 12:00:00-05:00,"
203-
"\n "
199+
"[2011-01-01 09:00:00-05:00, 2011-01-01 10:00:00-05:00,\n"
200+
" "
201+
"2011-01-01 11:00:00-05:00, 2011-01-01 12:00:00-05:00,\n"
202+
" "
204203
"2011-01-01 13:00:00-05:00]"
205204
)
206205

pandas/tests/io/formats/test_format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,8 +2402,8 @@ def test_east_asian_unicode_series(self):
24022402

24032403
s.index = ["ああ", "いいいい", "う", "えええ"]
24042404
expected = (
2405-
"ああ あ\n "
2406-
"... \n"
2405+
"ああ あ\n"
2406+
" ... \n"
24072407
"えええ ええええ\n"
24082408
"Name: おおおおおおお, Length: 4, dtype: object"
24092409
)

0 commit comments

Comments
 (0)