mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
tests/basics: Automatically skip tests that use str/bytes modulo-format.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
try:
|
||||
'' % ()
|
||||
except TypeError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print("%%" % ())
|
||||
print("=%s=" % 1)
|
||||
print("=%s=%s=" % (1, 2))
|
||||
|
||||
Reference in New Issue
Block a user