Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10108)

Delta Between Two Patch Sets: Lib/test/test_bytes.py

Issue 25958: Implicit ABCs have no means of "anti-registration"
Left Patch Set: Created 3 years, 10 months ago
Right Patch Set: Created 3 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_bool.py ('k') | Lib/test/test_collections.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """Unit tests for the bytes and bytearray types. 1 """Unit tests for the bytes and bytearray types.
2 2
3 XXX This is a mess. Common tests should be unified with string_tests.py (and 3 XXX This is a mess. Common tests should be unified with string_tests.py (and
4 the latter should be modernized). 4 the latter should be modernized).
5 """ 5 """
6 6
7 import os 7 import os
8 import re 8 import re
9 import sys 9 import sys
10 import copy 10 import copy
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 self.assertEqual(x, b"abcd") 1682 self.assertEqual(x, b"abcd")
1683 1683
1684 1684
1685 class BytesSubclassTest(SubclassTest, unittest.TestCase): 1685 class BytesSubclassTest(SubclassTest, unittest.TestCase):
1686 basetype = bytes 1686 basetype = bytes
1687 type2test = BytesSubclass 1687 type2test = BytesSubclass
1688 1688
1689 1689
1690 if __name__ == "__main__": 1690 if __name__ == "__main__":
1691 unittest.main() 1691 unittest.main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+