Skip to content

Commit

Permalink
More warnings than expected
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Dec 1, 2023
1 parent 564d79f commit 351b8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_mgf.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_write_single(self):
for spectrum in self.spectra:
mgf.write(spectra=spectrum, output=tmpfile)

self.assertEqual(len(ws), 2)
self.assertGreaterEqual(len(ws), 2)
for w in ws:
self.assertTrue(issubclass(w.category, UserWarning))
self.assertTrue("discouraged" in str(w.message))
Expand Down

0 comments on commit 351b8d7

Please sign in to comment.