[Python-checkins] r71647 - python/branches/py3k-short-float-repr/Lib/test/test_float.py

mark.dickinson python-checkins at python.org
Thu Apr 16 14:51:23 CEST 2009


Author: mark.dickinson
Date: Thu Apr 16 14:51:22 2009
New Revision: 71647

Log:
Remove redundant definition


Modified:
   python/branches/py3k-short-float-repr/Lib/test/test_float.py

Modified: python/branches/py3k-short-float-repr/Lib/test/test_float.py
==============================================================================
--- python/branches/py3k-short-float-repr/Lib/test/test_float.py	(original)
+++ python/branches/py3k-short-float-repr/Lib/test/test_float.py	Thu Apr 16 14:51:22 2009
@@ -15,9 +15,6 @@
 test_dir = os.path.dirname(__file__) or os.curdir
 format_testfile = os.path.join(test_dir, 'formatfloat_testcases.txt')
 
-# determine whether we're using short float repr or not
-short_float_repr = getattr(sys, 'float_repr_style', 'none') == 'short'
-
 class GeneralFloatCases(unittest.TestCase):
 
     def test_float(self):


More information about the Python-checkins mailing list