File: test__execmodules.py

package info (click to toggle)
python-gevent 0.13.6-1%2Bnmu3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,324 kB
  • sloc: python: 13,296; makefile: 95; ansic: 37
file content (11 lines) | stat: -rw-r--r-- 234 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
import sys
import traceback
from greentest import walk_modules


for path, module in walk_modules():
    sys.stderr.write('%s %s\n' % (module, path))
    try:
        execfile(path)
    except Exception:
        traceback.print_exc()