summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-05-03 20:02:51 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2011-05-03 20:02:51 (GMT)
commit0cc28b7a34259488c091c1bc45cca2e210928baf (patch)
tree46eedccfaddb0466812b8bce293961eebd7a0401 /Lib/test
parente7a2430ddedd3d236e1741b047d133cf461eb0de (diff)
downloadcpython-0cc28b7a34259488c091c1bc45cca2e210928baf.zip
cpython-0cc28b7a34259488c091c1bc45cca2e210928baf.tar.gz
cpython-0cc28b7a34259488c091c1bc45cca2e210928baf.tar.bz2
Remove an unused import and an unused local definition from test_math.py.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_math.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index dddc889..5ae98e1 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -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 = []