Skip to content

Commit b403a73

Browse files
committed
Clean up res/exp in frame/test_api.py
1 parent a399489 commit b403a73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/frame/test_api.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ def test_more_values(self, float_string_frame):
366366
def test_repr_with_mi_nat(self, float_string_frame):
367367
df = self.klass({'X': [1, 2]},
368368
index=[[pd.NaT, pd.Timestamp('20130101')], ['a', 'b']])
369-
res = repr(df)
370-
exp = ' X\nNaT a 1\n2013-01-01 b 2'
371-
assert res == exp
369+
result = repr(df)
370+
expected = ' X\nNaT a 1\n2013-01-01 b 2'
371+
assert result == expected
372372

373373
def test_iteritems_names(self, float_string_frame):
374374
for k, v in compat.iteritems(float_string_frame):

0 commit comments

Comments
 (0)