Skip to content

Commit 8f7e3bf

Browse files
committed
adding this file lets 'python3 -munittest' in the top directory work
1 parent 00e6216 commit 8f7e3bf

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
@@ -134,3 +134,9 @@ def testMovReverse(self):
134134
# test moving and reversing bits
135135
self.assertAssemblesTo("mov x, :: x", [0b101_00000_001_10_001])
136136
self.assertAssemblesTo("mov x, ::x", [0b101_00000_001_10_001])
137+
138+
class TestWrap(AssembleChecks):
139+
def testWrap(self):
140+
self.assertAssemblyFails(".wrap")
141+
self.assertPioKwargs("nop\n.wrap_target\nnop\nnop\n.wrap",
142+
sideset_count=0, sideset_enable=False, wrap=2, wrap_target=1)

0 commit comments

Comments
 (0)