Skip to content

Commit e420cd1

Browse files
committed
modified to pd_hdf
1 parent 416288d commit e420cd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytest_arraydiff/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def compare(cls, reference_file, test_file, atol=None, rtol=None):
173173
FORMATS = {}
174174
FORMATS['fits'] = FITSDiff
175175
FORMATS['text'] = TextDiff
176-
FORMATS['pdhdf'] = PDHDFDiff
176+
FORMATS['pd_hdf'] = PDHDFDiff
177177

178178

179179
def _download_file(url):

tests/test_pytest_arraydiff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_succeeds_func_default():
1717
def test_succeeds_func_text():
1818
return np.arange(3 * 5).reshape((3, 5))
1919

20-
@pytest.mark.array_compare(file_format='pdhdf', reference_dir=reference_dir)
20+
@pytest.mark.array_compare(file_format='pd_hdf', reference_dir=reference_dir)
2121
def test_succeeds_func_pdhdf():
2222
import pandas as pd
2323
return pd.DataFrame(data=np.arange(20), columns=['test_data'])

0 commit comments

Comments
 (0)