Home
last modified time | relevance | path

Searched refs:transtable (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_strop.py108 self.assertTrue(strop.maketrans("abc", "xyz") == transtable)
112 self.assertTrue(strop.translate("xyzabcdef", transtable, "def")
150 transtable = '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\… variable
Dtest_string.py93transtable = '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024…
95 self.assertEqual(string.maketrans('abc', 'xyz'), transtable)
/external/python/cpython3/Lib/test/
Dtest_bytes.py857transtable = b'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\02…
858 self.assertEqual(self.type2test.maketrans(b'abc', b'xyz'), transtable)
859transtable = b'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\02…
860 self.assertEqual(self.type2test.maketrans(b'\375\376\377', b'xyz'), transtable)