Skip to content

Commit c8964df

Browse files
committed
Update testing messages
1 parent e906873 commit c8964df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/test-stubs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ rm -rf circuitpython-stubs .mypy_cache
77
make stubs
88
pip install --force-reinstall circuitpython-stubs/dist/circuitpython-stubs-*.tar.gz
99
export MYPYPATH=circuitpython-stubs/
10+
echo "The following test should pass:"
1011
mypy -c 'import busio; b: busio.I2C; b.writeto(0x30, b"")'
12+
echo "The next two tests are expected to show type errors:"
1113
! mypy -c 'import busio; b: busio.I2C; b.readfrom_into(0x30, b"")'
1214
! mypy -c 'import busio; b: busio.I2C; b.write(0x30, b"")'
13-
echo "(The above two tests are expected to show type errors)"
15+
echo "Typing tests complete"

0 commit comments

Comments
 (0)