From 0e67984d99db56fbd92ab99fae5fffac3e400309 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 27 Jul 2022 21:59:51 -0400 Subject: [PATCH] bitmask.py: remove negative number unit test Negative numbers are possible because signed integers could be used. --- test_bitmask.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test_bitmask.py b/test_bitmask.py index 18e5d89..8982642 100644 --- a/test_bitmask.py +++ b/test_bitmask.py @@ -118,8 +118,6 @@ class TestBitmask(unittest.TestCase): self.bmask.value = 1j with self.assertRaises(TypeError): self.bmask.value = 2.5 - with self.assertRaises(TypeError): - self.bmask.value = -1 def test_contains(self): """Test `flag in mask` check."""