HomeSort by relevance Sort by last modified time
    Searched refs:__getformat__ (Results 1 - 23 of 23) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_float.py 15 have_getformat = hasattr(float, "__getformat__")
17 "requires __getformat__")
22 float.__getformat__("double").startswith("IEEE"),
431 self.save_formats = {'double':float.__getformat__('double'),
432 'float':float.__getformat__('float')}
439 self.assertIn(float.__getformat__('double'),
441 self.assertIn(float.__getformat__('float'),
443 self.assertRaises(ValueError, float.__getformat__, 'chicken')
444 self.assertRaises(TypeError, float.__getformat__, 1)
481 self.save_formats = {'double':float.__getformat__('double'),
    [all...]
test_long_future.py 14 float.__getformat__("double").startswith("IEEE"),
test_cmath.py 284 if not float.__getformat__("double").startswith("IEEE"):
432 if float.__getformat__("double").startswith("IEEE"):
test_complex.py 500 if float.__getformat__("double").startswith("IEEE"):
507 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
514 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
test_int.py 284 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
test_math.py 19 float.__getformat__("double").startswith("IEEE"),
    [all...]
test_fractions.py 17 float.__getformat__("double").startswith("IEEE"),
test_long.py 683 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
    [all...]
test_decimal.py 65 float.__getformat__("double").startswith("IEEE"),
    [all...]
  /external/python/cpython2/Lib/test/
test_float.py 16 have_getformat = hasattr(float, "__getformat__")
18 "requires __getformat__")
23 float.__getformat__("double").startswith("IEEE"),
491 self.save_formats = {'double':float.__getformat__('double'),
492 'float':float.__getformat__('float')}
499 self.assertIn(float.__getformat__('double'),
501 self.assertIn(float.__getformat__('float'),
503 self.assertRaises(ValueError, float.__getformat__, 'chicken')
504 self.assertRaises(TypeError, float.__getformat__, 1)
541 self.save_formats = {'double':float.__getformat__('double')
    [all...]
pythoninfo.py 155 info_add('builtins.float.float_format', float.__getformat__("float"))
156 info_add('builtins.float.double_format', float.__getformat__("double"))
test_complex.py 12 have_getformat = hasattr(float, "__getformat__")
14 float.__getformat__("double").startswith("IEEE"),
534 if float.__getformat__("double").startswith("IEEE"):
541 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
548 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
test_long_future.py 14 float.__getformat__("double").startswith("IEEE"),
test_cmath.py 284 if not float.__getformat__("double").startswith("IEEE"):
463 if float.__getformat__("double").startswith("IEEE"):
test_math.py 19 float.__getformat__("double").startswith("IEEE"),
    [all...]
test_int.py 308 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
test_fractions.py 18 float.__getformat__("double").startswith("IEEE"),
test_long.py 717 @unittest.skipUnless(float.__getformat__("double").startswith("IEEE"),
    [all...]
test_decimal.py 66 float.__getformat__("double").startswith("IEEE"),
    [all...]
  /external/python/cpython3/Lib/test/
pythoninfo.py 155 info_add('builtins.float.float_format', float.__getformat__("float"))
156 info_add('builtins.float.double_format', float.__getformat__("double"))
test_float.py 18 have_getformat = hasattr(float, "__getformat__")
20 "requires __getformat__")
526 self.save_formats = {'double':float.__getformat__('double'),
527 'float':float.__getformat__('float')}
534 self.assertIn(float.__getformat__('double'),
536 self.assertIn(float.__getformat__('float'),
538 self.assertRaises(ValueError, float.__getformat__, 'chicken')
539 self.assertRaises(TypeError, float.__getformat__, 1)
576 self.save_formats = {'double':float.__getformat__('double'),
577 'float':float.__getformat__('float')
    [all...]
test_funcattrs.py 384 self.assertEqual(float.__getformat__.__qualname__,
385 'float.__getformat__')
  /external/python/cpython3/Lib/test/support/
__init__.py 787 float.__getformat__("double").startswith("IEEE"),
    [all...]

Completed in 691 milliseconds