We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c76ca2 commit 49b036dCopy full SHA for 49b036d
future/tests/test_str.py
@@ -19,6 +19,14 @@ def test_str(self):
19
self.assertEqual(str('blah'), u'blah') # u'' prefix: Py3.3 and Py2 only
20
self.assertEqual(str(b'1234'), "b'1234'")
21
22
+ def test_bool_str(self):
23
+ s1 = str(u'abc')
24
+ s2 = u'abc'
25
+ s3 = str(u'')
26
+ s4 = u''
27
+ self.assertEqual(bool(s1), bool(s2))
28
+ self.assertEqual(bool(s3), bool(s4))
29
+
30
def test_os_path_join(self):
31
"""
32
Issue #15: can't os.path.join(u'abc', str(u'def'))
0 commit comments