Skip to content

Commit 9e6d49a

Browse files
committed
TST: tweak to debug 1.6.0 issue
1 parent c41f5d2 commit 9e6d49a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/tests/test_index.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ def test_tuple_union_bug(self):
328328
import pandas
329329
import numpy as np
330330

331-
idx1 = np.array([(1, 'A'),(2, 'A'),(1, 'B'),(2, 'B')], dtype=[('num',
331+
aidx1 = np.array([(1, 'A'),(2, 'A'),(1, 'B'),(2, 'B')], dtype=[('num',
332332
int),('let', 'a1')])
333-
idx2 = np.array([(1, 'A'),(2, 'A'),(1, 'B'),(2, 'B'),(1,'C'),(2,
333+
aidx2 = np.array([(1, 'A'),(2, 'A'),(1, 'B'),(2, 'B'),(1,'C'),(2,
334334
'C')], dtype=[('num', int),('let', 'a1')])
335335

336-
idx1 = pandas.Index(idx1)
337-
idx2 = pandas.Index(idx2)
336+
idx1 = pandas.Index(aidx1)
337+
idx2 = pandas.Index(aidx2)
338338

339339
# intersection broken?
340340
int_idx = idx1.intersection(idx2)

0 commit comments

Comments
 (0)