test.test_hdl_ast.OperatorTestCase: remove duplicate test_bool
authorRobin Ole Heinemann <robin.ole.heinemann@gmail.com>
Tue, 18 May 2021 19:18:51 +0000 (21:18 +0200)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 31 Dec 2021 15:27:50 +0000 (15:27 +0000)
tests/test_hdl_ast.py

index 9f550b1ca8c9a3117d857f70093fabfb279732ea..b3492313ce29883664b72b35a755d40ec305bce5 100644 (file)
@@ -548,11 +548,6 @@ class OperatorTestCase(FHDLTestCase):
         v = Mux(True, Const(0), Const(0))
         self.assertEqual(repr(v), "(m (const 1'd1) (const 1'd0) (const 1'd0))")
 
-    def test_bool(self):
-        v = Const(0).bool()
-        self.assertEqual(repr(v), "(b (const 1'd0))")
-        self.assertEqual(v.shape(), unsigned(1))
-
     def test_any(self):
         v = Const(0b101).any()
         self.assertEqual(repr(v), "(r| (const 3'd5))")