Skip to content

Commit 32becaf

Browse files
committed
fix windows trouble
1 parent bdfa7f3 commit 32becaf

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
@@ -17,10 +17,13 @@ def test_succeeds_func_default():
1717
def test_succeeds_func_text():
1818
return np.arange(3 * 5).reshape((3, 5))
1919

20+
2021
@pytest.mark.array_compare(file_format='pd_hdf', reference_dir=reference_dir)
2122
def test_succeeds_func_pdhdf():
2223
pd = pytest.importorskip('pandas')
23-
return pd.DataFrame(data=np.arange(20), columns=['test_data'])
24+
return pd.DataFrame(data=np.arange(20, dtype='int64'),
25+
columns=['test_data'])
26+
2427

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

0 commit comments

Comments
 (0)