Commit 664bc44f authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add tests for %-formatting of bytes.

This requires CPython3.5, to not require switching to it, just use .exp
file.
parent d50f649c
# 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")
b'%'
b'=1='
b'=1=2='
b'=str='
b"=b'str'="
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment