summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
committerGeorg Brandl <georg@python.org>2010-02-07 17:03:15 (GMT)
commita4f46e129294c686ef1effdd89c459bd9a624e6d (patch)
treed8cf84a6f4a9a1a3e7ad10f8daec0ecd5f5674cb /Lib/test/test_os.py
parentdc3694bee021480980d5b66a93f69ce137ee5be4 (diff)
downloadcpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.zip
cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.gz
cpython-a4f46e129294c686ef1effdd89c459bd9a624e6d.tar.bz2
Remove unused imports in test modules.
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 9900fa0..f8bb16b 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -134,7 +134,6 @@ class TemporaryFileTests(unittest.TestCase):
self.assertTrue(s == "foobar")
def test_tmpnam(self):
- import sys
if not hasattr(os, "tmpnam"):
return
warnings.filterwarnings("ignore", "tmpnam", RuntimeWarning,
@@ -185,8 +184,6 @@ class StatAttributeTests(unittest.TestCase):
self.assertEquals(result[stat.ST_SIZE], 3)
self.assertEquals(result.st_size, 3)
- import sys
-
# Make sure all the attributes are there
members = dir(result)
for name in dir(stat):