mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 02:54:05 +01:00
Fix nondeterministic test on Python < 3.7.
This commit is contained in:
parent
e0fdcb67c0
commit
86b1741fdd
@ -65,7 +65,7 @@ class FunctionsTestCase(SupyTestCase):
|
||||
hs.add("*!user@host2")
|
||||
self.assertEqual(hs.match("nick!user@host"), "*!user@host")
|
||||
self.assertEqual(hs.match("nick!user@host2"), "*!user@host2")
|
||||
self.assertEqual(list(hs), ["*!user@host", "*!user@host2"])
|
||||
self.assertCountEqual(list(hs), ["*!user@host", "*!user@host2"])
|
||||
hs.remove("*!user@host2")
|
||||
self.assertEqual(hs.match("nick!user@host"), "*!user@host")
|
||||
self.assertEqual(hs.match("nick!user@host2"), None)
|
||||
|
Loading…
Reference in New Issue
Block a user