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/test_examplefiles.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/test_examplefiles.py')
-rw-r--r-- | tests/test_examplefiles.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py index ee9af608..52ff3093 100644 --- a/tests/test_examplefiles.py +++ b/tests/test_examplefiles.py @@ -22,6 +22,7 @@ class ExampleFileTest(unittest.TestCase): lfd = 0 # generate methods +testdir = os.path.dirname(__file__) for fn in os.listdir(os.path.join(testdir, 'examplefiles')): absfn = os.path.join(testdir, 'examplefiles', fn) if not os.path.isfile(absfn): |