Skip to content

Commit

Permalink
TST, MAINT: test_frame_bool_fail compat (#4367)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjereddy authored Dec 17, 2023
1 parent 5eca713 commit 8060262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/MDAnalysisTests/analysis/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_frame_bool_fail():
u = mda.Universe(TPR, XTC) # dt = 100
an = FrameAnalysis(u.trajectory)
frames = [True, True, False]
msg = 'boolean index did not match indexed array along dimension 0'
msg = 'boolean index did not match indexed array along (axis|dimension) 0'
with pytest.raises(IndexError, match=msg):
an.run(frames=frames)

Expand Down

0 comments on commit 8060262

Please sign in to comment.