Skip to content

Commit 47fc509

Browse files
committed
restore original test case
1 parent b625f08 commit 47fc509

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/frame/test_to_csv.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ def test_to_csv_path_is_none(self):
922922
@pytest.mark.parametrize('frame, encoding', [
923923
(DataFrame([[0.123456, 0.234567, 0.567567],
924924
[12.32112, 123123.2, 321321.2]],
925-
index=['A', 'B'], columns=['X', 'Y', 'Z']), 'utf-8'),
925+
index=['A', 'B'], columns=['X', 'Y', 'Z']), None),
926926
(DataFrame([['abc', 'def', 'ghi']], columns=['X', 'Y', 'Z']), 'ascii'),
927927
(DataFrame(5 * [[123, u"你好", u"世界"]],
928928
columns=['X', 'Y', 'Z']), 'gb2312'),

pandas/tests/series/test_io.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_to_csv_path_is_none(self):
139139

140140
@pytest.mark.parametrize('s, encoding', [
141141
(Series([0.123456, 0.234567, 0.567567], index=['A', 'B', 'C'],
142-
name='X'), 'utf-8'),
142+
name='X'), None),
143143
(Series(['abc', 'def', 'ghi'], name='X'), 'ascii'),
144144
(Series(["123", u"你好", u"世界"], name=u"中文"), 'gb2312'),
145145
(Series(["123", u"Γειά σου", u"Κόσμε"], name=u"Ελληνικά"), 'cp737')

0 commit comments

Comments
 (0)