summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-14 10:45:50 (GMT)
committerGeorg Brandl <georg@python.org>2010-03-14 10:45:50 (GMT)
commit1b37e8728c654efe928b9bc028b2f4f5621a35ea (patch)
tree78762df4462cceecbc4c155c362986288fc2dfbb /Lib/test/test_os.py
parent7a4f7d92f04e4d8c8d95e9735698cc9273d43a9d (diff)
downloadcpython-1b37e8728c654efe928b9bc028b2f4f5621a35ea.zip
cpython-1b37e8728c654efe928b9bc028b2f4f5621a35ea.tar.gz
cpython-1b37e8728c654efe928b9bc028b2f4f5621a35ea.tar.bz2
Merged revisions 78093 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line 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 6155f0a..395402b 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -154,7 +154,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,
@@ -215,8 +214,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):