Add tests for unicode/bytes string literals

This commit is contained in:
Michael Hansen
2019-10-06 13:50:53 -07:00
parent b5696c8398
commit 892616b560
11 changed files with 18 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

3
tests/input/unicode.py Normal file
View File

@@ -0,0 +1,3 @@
ustr = u'Unicode'
bstr = b'Bytes'
dstr = 'Default'

View File

@@ -0,0 +1,5 @@
from __future__ import unicode_literals
ustr = u'Unicode'
bstr = b'Bytes'
dstr = 'Default'

View File

@@ -0,0 +1,3 @@
ustr = u'Unicode' <EOL>
bstr = 'Bytes' <EOL>
dstr = 'Default' <EOL>

View File

@@ -0,0 +1,4 @@
from __future__ import unicode_literals <EOL>
ustr = 'Unicode' <EOL>
bstr = b'Bytes' <EOL>
dstr = 'Default' <EOL>

View File

@@ -0,0 +1,3 @@
ustr = 'Unicode' <EOL>
bstr = b'Bytes' <EOL>
dstr = 'Default' <EOL>