From: Robin Ole Heinemann Date: Tue, 18 May 2021 19:18:51 +0000 (+0200) Subject: test.test_hdl_ast.OperatorTestCase: remove duplicate test_bool X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76f80c6a0f2f241c1ceb8735744e30bf121ce874;p=nmigen.git test.test_hdl_ast.OperatorTestCase: remove duplicate test_bool --- 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))")