Skip to content

Commit 5ad038f

Browse files
Format file
1 parent 5bd9720 commit 5ad038f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/tests/indexes/test_base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,9 +2822,10 @@ def test_shape_of_invalid_index():
28222822
idx = pd.Index([0, 1, 2, 3])
28232823
assert idx[:, None].shape == (4, 1)
28242824

2825+
28252826
def test_index_construction_respects_dtype():
28262827
index_list = [7606741985629028552, 17876870360202815256]
2827-
expected = np.asarray(index_list, dtype='uint64')
2828-
result = np.asarray(UInt64Index(index_list, dtype='uint64'), dtype='uint64')
2828+
expected = np.asarray(index_list, dtype="uint64")
2829+
result = np.asarray(UInt64Index(index_list, dtype="uint64"), dtype="uint64")
28292830

2830-
tm.assert_equal(expected, result)
2831+
tm.assert_equal(expected, result)

0 commit comments

Comments
 (0)