Skip to content

Commit 9ab3596

Browse files
Test directly, second pass
1 parent 5c7c65c commit 9ab3596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexes/test_numeric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,8 @@ def test_constructor(self):
945945
tm.assert_index_equal(res, idx)
946946

947947
# https://github.com/pandas-dev/pandas/issues/29526
948-
idx = pd.UInt64Index([1, 2**63 + 1])
949-
res = pd.UInt64Index(np.array([1, 2**63 + 1], dtype="uint64"))
948+
idx = UInt64Index([1, 2**63 + 1])
949+
res = Index([1, 2 ** 63 + 1], dtype=np.uint64)
950950
tm.assert_index_equal(res, idx)
951951

952952
def test_get_indexer(self, index_large):

0 commit comments

Comments
 (0)