diff options
Diffstat (limited to 'Lib/test/test_os.py')
| -rw-r--r-- | Lib/test/test_os.py | 3 |
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): |
