summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-02 10:54:10 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-02 10:54:10 (GMT)
commit7909411964fdc8f33111a1661704cc845a9c50c6 (patch)
tree59a3de847149d5a9f4c1065ef900a12d19ace8ea /Lib/test/test_bytes.py
parent9990cb09998e8b152be2a848b262fa3f91310285 (diff)
parent275bd96aa67ce2bf1c1f57cb5c2cb840d3afbb2d (diff)
downloadcpython-7909411964fdc8f33111a1661704cc845a9c50c6.zip
cpython-7909411964fdc8f33111a1661704cc845a9c50c6.tar.gz
cpython-7909411964fdc8f33111a1661704cc845a9c50c6.tar.bz2
Issue #19587: Merge test_bytes cleanup from 3.5
Diffstat (limited to 'Lib/test/test_bytes.py')
-rw-r--r--Lib/test/test_bytes.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index e813190..e11da5a 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -1562,24 +1562,11 @@ class BytearrayPEP3137Test(unittest.TestCase,
class FixedStringTest(test.string_tests.BaseTest):
-
def fixtype(self, obj):
if isinstance(obj, str):
return obj.encode("utf-8")
return super().fixtype(obj)
- # Currently the bytes containment testing uses a single integer
- # value. This may not be the final design, but until then the
- # bytes section with in a bytes containment not valid
- def test_contains(self):
- pass
- def test_expandtabs(self):
- pass
- def test_upper(self):
- pass
- def test_lower(self):
- pass
-
class ByteArrayAsStringTest(FixedStringTest, unittest.TestCase):
type2test = bytearray
contains_bytes = True