Skip to content

Commit a646551

Browse files
committed
fix windows trouble
1 parent eb2ca1d commit a646551

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_pytest_arraydiff.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ def test_succeeds_func_default():
2020
def test_succeeds_func_text():
2121
return np.arange(3 * 5).reshape((3, 5))
2222

23+
2324
@pytest.mark.array_compare(file_format='pd_hdf', reference_dir=reference_dir)
2425
def test_succeeds_func_pdhdf():
2526
pd = pytest.importorskip('pandas')
26-
return pd.DataFrame(data=np.arange(20), columns=['test_data'])
27+
return pd.DataFrame(data=np.arange(20, dtype='int64'),
28+
columns=['test_data'])
29+
2730

2831
@pytest.mark.array_compare(file_format='fits', reference_dir=reference_dir)
2932
def test_succeeds_func_fits():

0 commit comments

Comments
 (0)