Add tests for unicode/bytes string literals
This commit is contained in:
BIN
tests/compiled/unicode.2.6.pyc
Normal file
BIN
tests/compiled/unicode.2.6.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/unicode.2.7.pyc
Normal file
BIN
tests/compiled/unicode.2.7.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/unicode_future.3.3.pyc
Normal file
BIN
tests/compiled/unicode_future.3.3.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/unicode_future.3.7.pyc
Normal file
BIN
tests/compiled/unicode_future.3.7.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/unicode_py3.3.3.pyc
Normal file
BIN
tests/compiled/unicode_py3.3.3.pyc
Normal file
Binary file not shown.
BIN
tests/compiled/unicode_py3.3.7.pyc
Normal file
BIN
tests/compiled/unicode_py3.3.7.pyc
Normal file
Binary file not shown.
3
tests/input/unicode.py
Normal file
3
tests/input/unicode.py
Normal file
@@ -0,0 +1,3 @@
|
||||
ustr = u'Unicode'
|
||||
bstr = b'Bytes'
|
||||
dstr = 'Default'
|
||||
5
tests/input/unicode_future.py
Normal file
5
tests/input/unicode_future.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
ustr = u'Unicode'
|
||||
bstr = b'Bytes'
|
||||
dstr = 'Default'
|
||||
3
tests/tokenized/unicode.txt
Normal file
3
tests/tokenized/unicode.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
ustr = u'Unicode' <EOL>
|
||||
bstr = 'Bytes' <EOL>
|
||||
dstr = 'Default' <EOL>
|
||||
4
tests/tokenized/unicode_future.txt
Normal file
4
tests/tokenized/unicode_future.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
from __future__ import unicode_literals <EOL>
|
||||
ustr = 'Unicode' <EOL>
|
||||
bstr = b'Bytes' <EOL>
|
||||
dstr = 'Default' <EOL>
|
||||
3
tests/tokenized/unicode_py3.txt
Normal file
3
tests/tokenized/unicode_py3.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
ustr = 'Unicode' <EOL>
|
||||
bstr = b'Bytes' <EOL>
|
||||
dstr = 'Default' <EOL>
|
||||
Reference in New Issue
Block a user