You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
tests: Add tests for %-formatting of bytes.
This requires CPython3.5, to not require switching to it, just use .exp file.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# This test requires CPython3.5
|
||||
print(b"%%" % ())
|
||||
print(b"=%d=" % 1)
|
||||
print(b"=%d=%d=" % (1, 2))
|
||||
|
||||
print(b"=%s=" % b"str")
|
||||
print(b"=%r=" % b"str")
|
||||
@@ -0,0 +1,5 @@
|
||||
b'%'
|
||||
b'=1='
|
||||
b'=1=2='
|
||||
b'=str='
|
||||
b"=b'str'="
|
||||
Reference in New Issue
Block a user