From 76f80c6a0f2f241c1ceb8735744e30bf121ce874 Mon Sep 17 00:00:00 2001 From: Robin Ole Heinemann Date: Tue, 18 May 2021 21:18:51 +0200 Subject: [PATCH] test.test_hdl_ast.OperatorTestCase: remove duplicate test_bool --- tests/test_hdl_ast.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_hdl_ast.py b/tests/test_hdl_ast.py index 9f550b1..b349231 100644 --- a/tests/test_hdl_ast.py +++ b/tests/test_hdl_ast.py @@ -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))") -- 2.30.2