Skip to content

Commit 0227f80

Browse files
committed
Cleanup
1 parent 2319e65 commit 0227f80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

teensytoany/tests/test_teensytoany.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def test_nop():
1818
@pytest.mark.hardware
1919
@pytest.mark.parametrize("i", range(256, 2048 + 1, 256))
2020
def test_nop_buffer_size(i):
21-
# We shouldn't fail with up to 2048 bytes of input
21+
# We shouldn't fail with up to 2048 bytes of input
2222
with TeensyToAny() as t:
23-
t._ask("nop" + " " * (2048 - len("nop\n") - i))
23+
t._ask("nop" + " " * (2048 - i - len("nop\n")))
2424

2525

2626
@pytest.mark.hardware

0 commit comments

Comments
 (0)