Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some deprecation warnings from tests #469

Merged
merged 4 commits into from
Dec 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update dtype in JUNGFRAU mock data test
takluyver committed Dec 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2c300fbc1e7782f8e99a5b70cb1c5fe90de1b675
2 changes: 1 addition & 1 deletion extra_data/tests/test_reader_mockdata.py
Original file line number Diff line number Diff line change
@@ -1042,7 +1042,7 @@ def test_inspect_key_no_trains(mock_jungfrau_run):
# INSTRUMENT
jf_m1_data = sel['SPB_IRDA_JF4M/DET/JNGFR01:daqOutput', 'data.adc']
assert jf_m1_data.shape == (0, 16, 512, 1024)
assert jf_m1_data.dtype == np.dtype(np.uint16)
assert jf_m1_data.dtype == np.dtype(np.float32)


def test_run_metadata(mock_spb_raw_run):