Home
last modified time | relevance | path

Searched refs:fixtype (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_userstring.py21 result = self.fixtype(result)
22 object = self.fixtype(object)
31 obj = self.fixtype(obj)
38 object = self.fixtype(object)
Dstring_tests.py39 def fixtype(self, obj): member in BaseTest
43 return [self.fixtype(x) for x in obj]
45 return tuple([self.fixtype(x) for x in obj])
48 (self.fixtype(key), self.fixtype(value))
55 self.assertIs(type(self.fixtype("123")), self.type2test)
59 result = self.fixtype(result)
60 obj = self.fixtype(obj)
61 args = self.fixtype(args)
62 kwargs = {k: self.fixtype(v) for k,v in kwargs.items()}
83 obj = self.fixtype(obj)
[all …]
Dtest_bytes.py1841 def fixtype(self, obj): member in FixedStringTest
1844 return super().fixtype(obj)
/external/python/cpython2/Lib/test/
Dtest_userstring.py22 result = self.fixtype(result)
23 object = self.fixtype(object)
32 obj = self.fixtype(obj)
39 object = self.fixtype(object)
Dstring_tests.py33 def fixtype(self, obj): member in CommonTest
37 return [self.fixtype(x) for x in obj]
39 return tuple([self.fixtype(x) for x in obj])
42 (self.fixtype(key), self.fixtype(value))
49 self.assertIs(type(self.fixtype("123")), self.type2test)
53 result = self.fixtype(result)
54 object = self.fixtype(object)
55 args = self.fixtype(args)
72 obj = self.fixtype(obj)
73 args = self.fixtype(args)
[all …]
Dtest_string.py56 self.fixtype(' ').join(f())
Dtest_str.py20 def fixtype(self, obj): member in StrTest