[Python-checkins] cpython: Remove an unused import and an unused local definition from test_math.py.

mark.dickinson python-checkins at python.org
Tue May 3 22:03:10 CEST 2011


http://hg.python.org/cpython/rev/465bcdd564db
changeset:   69813:465bcdd564db
parent:      69811:27e5c10ad0bf
user:        Mark Dickinson <mdickinson at enthought.com>
date:        Tue May 03 21:02:51 2011 +0100
summary:
  Remove an unused import and an unused local definition from test_math.py.

files:
  Lib/test/test_math.py |  2 --
  1 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -6,7 +6,6 @@
 import math
 import os
 import sys
-import random
 import struct
 import sysconfig
 
@@ -1010,7 +1009,6 @@
 
     @requires_IEEE_754
     def test_mtestfile(self):
-        ALLOWED_ERROR = 20  # permitted error, in ulps
         fail_fmt = "{}:{}({!r}): expected {!r}, got {!r}"
 
         failures = []

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list