From 891499245eeda0e63fcc03f959d69d17f0cc28be Mon Sep 17 00:00:00 2001 From: DSM Date: Tue, 17 Jun 2014 20:28:49 -0400 Subject: [PATCH] Switch if to elif in test_frame.test_to_csv_moar._do_test --- pandas/tests/test_frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index ea3dafa07715b..8ed1d2d2d4f95 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -5748,7 +5748,7 @@ def _to_uni(x): recons.index = np.array(lmap(_to_uni,recons.index), dtype=r_dtype) df.index = np.array(lmap(_to_uni,df.index),dtype=r_dtype) - if r_dtype == 'dt': # unicode + elif r_dtype == 'dt': # unicode r_dtype='O' recons.index = np.array(lmap(Timestamp,recons.index), dtype=r_dtype)