summaryrefslogtreecommitdiff
path: root/Lib/test/test_math.py
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2011-05-03 21:02:51 +0100
committerMark Dickinson <mdickinson@enthought.com>2011-05-03 21:02:51 +0100
commit0cc28b7a34259488c091c1bc45cca2e210928baf (patch)
tree46eedccfaddb0466812b8bce293961eebd7a0401 /Lib/test/test_math.py
parente7a2430ddedd3d236e1741b047d133cf461eb0de (diff)
downloadcpython-git-0cc28b7a34259488c091c1bc45cca2e210928baf.tar.gz
Remove an unused import and an unused local definition from test_math.py.
Diffstat (limited to 'Lib/test/test_math.py')
-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 dddc889375..5ae98e11a6 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 = []