bpo-35412: Add testcase to test_future4 (GH-11131)

Add testcase to test_future4: check unicode literal.
This commit is contained in:
Victor Stinner 2018-12-12 18:38:34 +01:00 committed by GitHub
parent b0e0877629
commit 502fe19b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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()

View File

@ -0,0 +1 @@
Add testcase to ``test_future4``: check unicode literal.