summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compiler.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-21 03:33:33 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-21 03:33:33 (GMT)
commit72949bd511be40a6cc24cf9124bd8d798a48d7bb (patch)
treeb931631f84f6b74bdacf712420b243888f1213f5 /Lib/test/test_compiler.py
parent50376771707836dd7294c8071a6633e551ec5966 (diff)
downloadcpython-72949bd511be40a6cc24cf9124bd8d798a48d7bb.zip
cpython-72949bd511be40a6cc24cf9124bd8d798a48d7bb.tar.gz
cpython-72949bd511be40a6cc24cf9124bd8d798a48d7bb.tar.bz2
this was supposed to die
Diffstat (limited to 'Lib/test/test_compiler.py')
-rw-r--r--Lib/test/test_compiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py
index 332e0bb..4598811 100644
--- a/Lib/test/test_compiler.py
+++ b/Lib/test/test_compiler.py
@@ -28,8 +28,8 @@ class CompilerTest(unittest.TestCase):
libdir = os.path.dirname(os.__file__)
testdir = os.path.dirname(test.test_support.__file__)
- for dir in [libdir, testdir]:
- for basename in os.listdir(dir):
+ for dir in [testdir]:
+ for basename in "test_os.py",:
# Print still working message since this test can be really slow
if next_time <= time.time():
next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL