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 975567c commit 2ff38a1Copy full SHA for 2ff38a1
tests/test_pytest_arraydiff.py
@@ -22,7 +22,7 @@ def test_succeeds_func_text():
22
23
@pytest.mark.array_compare(file_format='pd_hdf', reference_dir=reference_dir)
24
def test_succeeds_func_pdhdf():
25
- import pandas as pd
+ pd = pytest.importorskip('pandas')
26
return pd.DataFrame(data=np.arange(20), columns=['test_data'])
27
28
@pytest.mark.array_compare(file_format='fits', reference_dir=reference_dir)
0 commit comments