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,4 +1,11 @@
|
||||
# This test requires CPython3.5
|
||||
|
||||
try:
|
||||
b'' % ()
|
||||
except TypeError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(b"%%" % ())
|
||||
print(b"=%d=" % 1)
|
||||
print(b"=%d=%d=" % (1, 2))
|
||||
|
||||
Reference in New Issue
Block a user