Home
last modified time | relevance | path

Searched refs:read_written (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_aifc.py171 def read_written(self, what): function
177 self.assertEqual(read_written(x, 'float'), x)
179 self.assertEqual(read_written(x, 'float'), aifc._HUGE_VAL)
181 self.assertEqual(read_written(x, 'string'), x)
183 self.assertEqual(read_written(x, 'long'), x)
185 self.assertEqual(read_written(x, 'ulong'), x)
187 self.assertEqual(read_written(x, 'short'), x)
189 self.assertEqual(read_written(x, 'ushort'), x)
/external/python/cpython3/Lib/test/
Dtest_aifc.py223 def read_written(self, what): function
229 self.assertEqual(read_written(x, 'float'), x)
231 self.assertEqual(read_written(x, 'float'), aifc._HUGE_VAL)
233 self.assertEqual(read_written(x, 'string'), x)
235 self.assertEqual(read_written(x, 'long'), x)
237 self.assertEqual(read_written(x, 'ulong'), x)
239 self.assertEqual(read_written(x, 'short'), x)
241 self.assertEqual(read_written(x, 'ushort'), x)