We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd9720 commit 5ad038fCopy full SHA for 5ad038f
pandas/tests/indexes/test_base.py
@@ -2822,9 +2822,10 @@ def test_shape_of_invalid_index():
2822
idx = pd.Index([0, 1, 2, 3])
2823
assert idx[:, None].shape == (4, 1)
2824
2825
+
2826
def test_index_construction_respects_dtype():
2827
index_list = [7606741985629028552, 17876870360202815256]
- expected = np.asarray(index_list, dtype='uint64')
2828
- result = np.asarray(UInt64Index(index_list, dtype='uint64'), dtype='uint64')
+ expected = np.asarray(index_list, dtype="uint64")
2829
+ result = np.asarray(UInt64Index(index_list, dtype="uint64"), dtype="uint64")
2830
- tm.assert_equal(expected, result)
2831
+ tm.assert_equal(expected, result)
0 commit comments