Skip to content

Commit 8914992

Browse files
committed
Switch if to elif in test_frame.test_to_csv_moar._do_test
1 parent 463aa0d commit 8914992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5748,7 +5748,7 @@ def _to_uni(x):
57485748
recons.index = np.array(lmap(_to_uni,recons.index),
57495749
dtype=r_dtype)
57505750
df.index = np.array(lmap(_to_uni,df.index),dtype=r_dtype)
5751-
if r_dtype == 'dt': # unicode
5751+
elif r_dtype == 'dt': # unicode
57525752
r_dtype='O'
57535753
recons.index = np.array(lmap(Timestamp,recons.index),
57545754
dtype=r_dtype)

0 commit comments

Comments
 (0)