Skip to content

Commit 27f541b

Browse files
committed
modified to pd_hdf
1 parent af2af80 commit 27f541b

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
@@ -189,7 +189,7 @@ def compare(cls, reference_file, test_file, atol=None, rtol=None):
189189
FORMATS = {}
190190
FORMATS['fits'] = FITSDiff
191191
FORMATS['text'] = TextDiff
192-
FORMATS['pdhdf'] = PDHDFDiff
192+
FORMATS['pd_hdf'] = PDHDFDiff
193193

194194

195195
def _download_file(url):

tests/test_pytest_arraydiff.py

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

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

0 commit comments

Comments
 (0)