Skip to content

Commit c41f5d2

Browse files
committed
TST: another tuple fix for NumPy 1.6.0
1 parent 857e020 commit c41f5d2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/tests/test_frame.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,9 +1537,7 @@ def test_eng_float_formatter(self):
15371537
def test_repr_tuples(self):
15381538
buf = StringIO()
15391539

1540-
arr = np.empty(10, dtype=object)
1541-
arr[:] = zip(range(10), range(10))
1542-
df = DataFrame({'tups' : arr})
1540+
df = DataFrame({'tups' : zip(range(10), range(10))})
15431541
repr(df)
15441542
df.to_string(colSpace=10, buf=buf)
15451543

0 commit comments

Comments
 (0)