[py-svn] r11951 - in py/dist/py/test: . testing

hpk at codespeak.net hpk at codespeak.net
Thu May 5 00:31:26 CEST 2005


Author: hpk
Date: Thu May  5 00:31:26 2005
New Revision: 11951

Modified:
   py/dist/py/test/collect.py
   py/dist/py/test/testing/test_collect.py
Log:
also add {arch} to the list of ignored directories


Modified: py/dist/py/test/collect.py
==============================================================================
--- py/dist/py/test/collect.py	(original)
+++ py/dist/py/test/collect.py	Thu May  5 00:31:26 2005
@@ -230,7 +230,7 @@
     
     def recfilter(self, path): 
         return path.check(dotfile=0) and \
-               path.basename not in ('CVS', '_darcs')
+               path.basename not in ('CVS', '_darcs', '{arch}')
 
     def run(self): 
         l = self.fspath.listdir() 

Modified: py/dist/py/test/testing/test_collect.py
==============================================================================
--- py/dist/py/test/testing/test_collect.py	(original)
+++ py/dist/py/test/testing/test_collect.py	Thu May  5 00:31:26 2005
@@ -53,6 +53,7 @@
     tmp = py.test.ensuretemp("ignore_certain_directories")
     tmp.ensure("_darcs", 'test_notfound.py')
     tmp.ensure("CVS", 'test_notfound.py')
+    tmp.ensure("{arch}", 'test_notfound.py')
     tmp.ensure(".whatever", 'test_notfound.py')
     tmp.ensure("normal", 'test_found.py')
     tmp.ensure('test_found.py')



More information about the pytest-commit mailing list