Skip to content

Commit fde6fcc

Browse files
committed
adding this file lets 'python3 -munittest' in the top directory work
1 parent 9bda24e commit fde6fcc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/__init__.py

Whitespace-only changes.

tests/testpioasm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,9 @@ def testMovReverse(self):
136136
# test moving and reversing bits
137137
self.assertAssemblesTo("mov x, :: x", [0b101_00000_001_10_001])
138138
self.assertAssemblesTo("mov x, ::x", [0b101_00000_001_10_001])
139+
140+
class TestWrap(AssembleChecks):
141+
def testWrap(self):
142+
self.assertAssemblyFails(".wrap")
143+
self.assertPioKwargs("nop\n.wrap_target\nnop\nnop\n.wrap",
144+
sideset_count=0, sideset_enable=False, wrap=2, wrap_target=1)

0 commit comments

Comments
 (0)