mirror of
https://github.com/python/cpython.git
synced 2024-12-18 22:34:08 +08:00
502fe19b10
Add testcase to test_future4: check unicode literal.
12 lines
222 B
Python
12 lines
222 B
Python
from __future__ import unicode_literals
|
|
import unittest
|
|
|
|
|
|
class Tests(unittest.TestCase):
|
|
def test_unicode_literals(self):
|
|
self.assertIsInstance("literal", str)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|