summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future4.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-12 17:38:34 (GMT)
committerGitHub <noreply@github.com>2018-12-12 17:38:34 (GMT)
commit502fe19b10f66235fcf8f13fc1c0308190845def (patch)
tree707a8c0d1953b5c7556406a4b25621404db7359c /Lib/test/test_future4.py
parentb0e0877629e3df4bc3042fd424e96f197b2e9fa4 (diff)
downloadcpython-502fe19b10f66235fcf8f13fc1c0308190845def.zip
cpython-502fe19b10f66235fcf8f13fc1c0308190845def.tar.gz
cpython-502fe19b10f66235fcf8f13fc1c0308190845def.tar.bz2
bpo-35412: Add testcase to test_future4 (GH-11131)
Add testcase to test_future4: check unicode literal.
Diffstat (limited to 'Lib/test/test_future4.py')
-rw-r--r--Lib/test/test_future4.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_future4.py b/Lib/test/test_future4.py
index 413dd4d..b27ca40 100644
--- a/Lib/test/test_future4.py
+++ b/Lib/test/test_future4.py
@@ -1,6 +1,11 @@
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()