projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d85f88
)
test.test_hdl_ast.OperatorTestCase: remove duplicate test_bool
author
Robin Ole Heinemann
<robin.ole.heinemann@gmail.com>
Tue, 18 May 2021 19:18:51 +0000
(21:18 +0200)
committer
whitequark
<whitequark@whitequark.org>
Tue, 18 May 2021 20:18:55 +0000
(20:18 +0000)
tests/test_hdl_ast.py
patch
|
blob
|
history
diff --git
a/tests/test_hdl_ast.py
b/tests/test_hdl_ast.py
index 9f550b1ca8c9a3117d857f70093fabfb279732ea..b3492313ce29883664b72b35a755d40ec305bce5 100644
(file)
--- 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))")