Skip to content

Commit f08a682

Browse files
committed
TST: reset printoptions in case of prior test failure on Python 2.5
1 parent e3911df commit f08a682

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/test_frame.py

+1
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,7 @@ def test_to_string_right_justify_cols(self):
18491849
assert(df_s == expected)
18501850

18511851
def test_to_string_format_na(self):
1852+
com.reset_printoptions()
18521853
df = DataFrame({'A' : [np.nan, -1, -2.1234, 3, 4],
18531854
'B' : [np.nan, 'foo', 'foooo', 'fooooo', 'bar']})
18541855
result = df.to_string()

0 commit comments

Comments
 (0)