]> granicus.if.org Git - python/commitdiff
Remove an unused import and an unused local definition from test_math.py.
authorMark Dickinson <mdickinson@enthought.com>
Tue, 3 May 2011 20:02:51 +0000 (21:02 +0100)
committerMark Dickinson <mdickinson@enthought.com>
Tue, 3 May 2011 20:02:51 +0000 (21:02 +0100)
Lib/test/test_math.py

index dddc889375cf4291eee9663ac5d20feb9d36a737..5ae98e11a6a48cceb70b32e27bb51e6367ecdd4c 100644 (file)
@@ -6,7 +6,6 @@ import unittest
 import math
 import os
 import sys
-import random
 import struct
 import sysconfig
 
@@ -1010,7 +1009,6 @@ class MathTests(unittest.TestCase):
 
     @requires_IEEE_754
     def test_mtestfile(self):
-        ALLOWED_ERROR = 20  # permitted error, in ulps
         fail_fmt = "{}:{}({!r}): expected {!r}, got {!r}"
 
         failures = []