Verified that `mypy --strict adafruit_pioasm.py tests` runs without errors. Fixes: https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/issues/24
13 lines
276 B
Python
13 lines
276 B
Python
# SPDX-FileCopyrightText: 2021 Jeff Epler, written for Adafruit Industries
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
"""
|
|
Tests pseudo-ops
|
|
"""
|
|
|
|
from pytest_helpers import assert_pio_kwargs
|
|
|
|
|
|
def test_offset() -> None:
|
|
assert_pio_kwargs(".origin 7", offset=7, sideset_enable=False)
|