mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
remove (un)transform methods
This commit is contained in:
parent
18d378dc3d
commit
28a4dce6a8
9 changed files with 6 additions and 274 deletions
|
@ -207,11 +207,6 @@ class BaseBytesTest(unittest.TestCase):
|
|||
self.assertEqual(b.decode(errors="ignore", encoding="utf8"),
|
||||
"Hello world\n")
|
||||
|
||||
def test_transform(self):
|
||||
b1 = self.type2test(range(256))
|
||||
b2 = b1.transform("base64").untransform("base64")
|
||||
self.assertEqual(b2, b1)
|
||||
|
||||
def test_from_int(self):
|
||||
b = self.type2test(0)
|
||||
self.assertEqual(b, self.type2test())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue