black/tests/python2_unicode_literals.py

17 lines
193 B
Python

#!/usr/bin/env python2
from __future__ import unicode_literals
u'hello'
U"hello"
Ur"hello"
# output
#!/usr/bin/env python2
from __future__ import unicode_literals
"hello"
"hello"
r"hello"