Skip to content

Commit 502fe19

Browse files
authored
bpo-35412: Add testcase to test_future4 (GH-11131)
Add testcase to test_future4: check unicode literal.
1 parent b0e0877 commit 502fe19

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Lib/test/test_future4.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
from __future__ import unicode_literals
2-
32
import unittest
43

4+
5+
class Tests(unittest.TestCase):
6+
def test_unicode_literals(self):
7+
self.assertIsInstance("literal", str)
8+
9+
510
if __name__ == "__main__":
611
unittest.main()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add testcase to ``test_future4``: check unicode literal.

0 commit comments

Comments
 (0)