Skip to content

Commit 2d91a13

Browse files
bpo-35412: Add testcase to test_future4 (GH-11131) (GH-11183)
Add testcase to test_future4: check unicode literal. (cherry picked from commit 502fe19) Co-authored-by: Victor Stinner <[email protected]>
1 parent 9a47585 commit 2d91a13

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)