diff options
-rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index cac90f4..699d5a6 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -372,6 +372,8 @@ class SysModuleTest(unittest.TestCase): self.assertEqual(vi[3], vi.releaselevel) self.assertEqual(vi[4], vi.serial) self.assertTrue(vi > (1,0,0)) + self.assertIsInstance(sys.float_repr_style, str) + self.assertTrue(sys.float_repr_style in ('short', 'legacy')) def test_43581(self): # Can't use sys.stdout, as this is a StringIO object when |