mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
gh-81005: Refactor str tests to reflect that str and unicode are merged in Python 3 (#13172)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
76170f5458
commit
ddb1485953
5 changed files with 31 additions and 39 deletions
|
@ -1614,7 +1614,7 @@ class BuiltinTest(unittest.TestCase):
|
|||
msg = r"^attribute name must be string, not 'int'$"
|
||||
self.assertRaisesRegex(TypeError, msg, setattr, sys, 1, 'spam')
|
||||
|
||||
# test_str(): see test_unicode.py and test_bytes.py for str() tests.
|
||||
# test_str(): see test_str.py and test_bytes.py for str() tests.
|
||||
|
||||
def test_sum(self):
|
||||
self.assertEqual(sum([]), 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue