bitmask.py: remove negative number unit test
Negative numbers are possible because signed integers could be used.
This commit is contained in:
parent
22b1d55298
commit
0e67984d99
@ -118,8 +118,6 @@ class TestBitmask(unittest.TestCase):
|
|||||||
self.bmask.value = 1j
|
self.bmask.value = 1j
|
||||||
with self.assertRaises(TypeError):
|
with self.assertRaises(TypeError):
|
||||||
self.bmask.value = 2.5
|
self.bmask.value = 2.5
|
||||||
with self.assertRaises(TypeError):
|
|
||||||
self.bmask.value = -1
|
|
||||||
|
|
||||||
def test_contains(self):
|
def test_contains(self):
|
||||||
"""Test `flag in mask` check."""
|
"""Test `flag in mask` check."""
|
||||||
|
Loading…
Reference in New Issue
Block a user