mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
bpo-35412: Add testcase to test_future4 (GH-11131)
Add testcase to test_future4: check unicode literal.
This commit is contained in:
parent
b0e0877629
commit
502fe19b10
2 changed files with 7 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Add testcase to ``test_future4``: check unicode literal.
|
Loading…
Add table
Add a link
Reference in a new issue