diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-29 07:52:21 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-29 07:52:21 -0500 |
commit | 98f6c220071d6ef65bd254bc24935d0be76cf61a (patch) | |
tree | f0d4f418917e5fc1bc094cb4d6562c2bde7f4566 /test.py | |
parent | 12a948ddf009fb2510eda5be4f576dc3e7de401f (diff) | |
download | bugseverywhere-98f6c220071d6ef65bd254bc24935d0be76cf61a.tar.gz |
Add version information to test.py stderr for easier error reproduction
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,7 @@ import libbe libbe.TESTING = True from libbe.util.tree import Tree from libbe.util.plugin import import_by_name +from libbe.version import version def python_tree(root_path='libbe', root_modname='libbe'): tree = Tree() @@ -89,6 +90,7 @@ those modules and their submodules. For example:: parser.add_option('-q', '--quiet', action='store_true', default=False, help='Run unittests in quiet mode (verbosity 1).') options,args = parser.parse_args() + print >> sys.stderr, 'Testing BE\n%s' % version(verbose=True) verbosity = 2 if options.quiet == True: |