Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
# 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'="
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment