Skip to content

Commit 99a7ae2

Browse files
committed
modified to pd_hdf
1 parent af7ce8e commit 99a7ae2

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

195195

196196
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)