diff options
author | thatch <devnull@localhost> | 2010-05-05 17:53:06 -0700 |
---|---|---|
committer | thatch <devnull@localhost> | 2010-05-05 17:53:06 -0700 |
commit | f0e01e9ca0c079e81ce56e9a25b8dfe94763b652 (patch) | |
tree | 9817b30f227eeaf3ce187b007b7ae7ef1d0c067d /tests/test_examplefiles.py | |
parent | 8fd90d631c1c1018f5cd90a40dc78a693738e3e1 (diff) | |
parent | 3add5eeb84b8ce28e5f7af9064990c5c7977ee5a (diff) | |
download | pygments-f0e01e9ca0c079e81ce56e9a25b8dfe94763b652.tar.gz |
Merge with -main
Diffstat (limited to 'tests/test_examplefiles.py')
-rw-r--r-- | tests/test_examplefiles.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py index 691ae92a..25d02233 100644 --- a/tests/test_examplefiles.py +++ b/tests/test_examplefiles.py @@ -18,6 +18,9 @@ from pygments.util import ClassNotFound, b def test_example_files(): testdir = os.path.dirname(__file__) for fn in os.listdir(os.path.join(testdir, 'examplefiles')): + if fn.startswith('.') or fn.endswith('#'): + continue + absfn = os.path.join(testdir, 'examplefiles', fn) if not os.path.isfile(absfn): continue |