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 cd63826 commit 707f44bCopy full SHA for 707f44b
tests/exporter_test.py
@@ -70,7 +70,10 @@ def test_mcstas_reduction_export_to_bytestream(reduced_data: NMXReducedData) ->
70
]
71
72
with io.BytesIO() as bio:
73
- export_as_nexus(reduced_data, bio)
+ with pytest.warns(
74
+ DeprecationWarning, match='Please use ``export_as_nxlauetof`` instead.'
75
+ ):
76
+ export_as_nexus(reduced_data, bio)
77
with h5py.File(bio, 'r') as f:
78
assert 'NMX_data' in f
79
nmx_data: h5py.Group = f.require_group('NMX_data')
0 commit comments