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 643caf2 commit 9b45625Copy full SHA for 9b45625
tests/acquisition/flusurv/test_flusurv.py
@@ -379,7 +379,7 @@ def test_groupids_to_name(self):
379
380
with self.assertRaisesRegex(ValueError, "Ageid cannot be 6"):
381
api_fetcher._groupid_to_name(6, 0, 0, 0)
382
- with self.assertRaisesRegex(ValueError, "Expect at least three of four group ids to be 0"):
+ with self.assertWarnsRegex(Warning, "We expect an obs to represent only a single demographic group at a time"):
383
api_fetcher._groupid_to_name(1, 1, 0, 0)
384
api_fetcher._groupid_to_name(0, 1, 1, 0)
385
api_fetcher._groupid_to_name(1, 1, 1, 1)
0 commit comments