Skip to content

Commit

Permalink
try (unsuccesfully) to exclude broken_test from epydoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Mar 11, 2010
1 parent 1293081 commit 34518bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/epyrun
Expand Up @@ -100,7 +100,9 @@ modnames = []
def addMod(arg, path, files):
for fn in files:
file = os.path.join(path, fn).replace('%s__init__'%os.sep, '')
if file[-3:] == '.py' and not file.count('%stest%s' % (os.sep,os.sep)):
if file.count('%stest%s' % (os.sep,os.sep)): continue
if file.count('%sbroken_test%s' % (os.sep,os.sep)): continue
if file[-3:] == '.py':
modName = file[:-3].replace(os.sep,'.')
try:
#print 'pre-loading', modName
Expand Down Expand Up @@ -173,6 +175,8 @@ def main():

if 'buildbot.test' in modnames:
modnames.remove('buildbot.test')
if 'buildbot.broken_test' in modnames:
modnames.remove('buildbot.broken_test')
##if 'twisted' in modnames:
## modnames.remove('twisted')

Expand Down

0 comments on commit 34518bc

Please sign in to comment.