diff options
author | Benjamin Peterson <devnull@localhost> | 2008-09-18 21:03:16 -0500 |
---|---|---|
committer | Benjamin Peterson <devnull@localhost> | 2008-09-18 21:03:16 -0500 |
commit | ae5c5fdb18fa618e84c408264f596ebdec96e5df (patch) | |
tree | a4feb5b6a971d2b72b4827bd7a33d33aa46fa9bd /tests/run.py | |
parent | e6600347dac8dddc630cac6e55c08dea84b20f00 (diff) | |
download | pygments-ae5c5fdb18fa618e84c408264f596ebdec96e5df.tar.gz |
remove __builtin__.testdir/testfile magic
This adds a new file tests/support.py
Diffstat (limited to 'tests/run.py')
-rw-r--r-- | tests/run.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/run.py b/tests/run.py index b0244d60..534a22e5 100644 --- a/tests/run.py +++ b/tests/run.py @@ -14,7 +14,6 @@ import sys, os, new import unittest -import __builtin__ from os.path import dirname, basename, join, abspath @@ -27,9 +26,6 @@ except ImportError: testdir = abspath(dirname(__file__)) -# useful for all tests -__builtin__.testdir = testdir - failed = [] total_test_count = 0 error_test_count = 0 @@ -92,7 +88,6 @@ def run_tests(with_coverage=False): for testfile in files: globs = {} try: - __builtin__.testfile = testfile execfile(join(testdir, testfile), globs) except Exception, exc: raise |