-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Currently, tests are marked as XFAIL with two parameter sets that shouldn't pass. We should ensure the tests fail in the expected manner in a separate test.
Describe the solution you'd like
Separate the parameter sets that are marked as XFAIL into a separate test that asserts a specific failure mode.
Lines 15 to 21 in e3802a4
| (254, np.uint16), # results in < 2**16 structures, so not a problem | |
| pytest.param( | |
| 256, np.uint16, marks=pytest.mark.xfail | |
| ), # results in 2**16 structures, so last structure gets labelled 0 | |
| pytest.param( | |
| 258, np.uint16, marks=pytest.mark.xfail | |
| ), # results in > 2**16 structures, so two structures with label 1 |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request