Commits

thatch  committed 25655d0

Exclude editor temp files from examplefiles tests

  • Participants
  • Parent commits c47e74b
  • Branches trunk

Comments (0)

Files changed (1)

File tests/test_examplefiles.py

 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