Skip to content

Commit 47a6c6c

Browse files
Update test so that it will actually run on "normal" machine
1 parent 7aeee85 commit 47a6c6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tools/tests/test_util.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ def test_large_input(self):
6363
X = np.arange(65536)
6464
Y = np.arange(65535)
6565
result1, result2 = cartesian_product([X, Y])
66-
expected1, expected2 = np.asarray(list(pd.compat.product(X, Y))).T
67-
tm.assert_numpy_array_equal(result1, expected1)
68-
tm.assert_numpy_array_equal(result2, expected2)
66+
expected_size = X.size * Y.size
67+
tm.assert_equal(result1.size, expected_size)
68+
tm.assert_equal(result2.size, expected_size)
6969

7070

7171
class TestLocaleUtils(tm.TestCase):

0 commit comments

Comments
 (0)