aboutsummaryrefslogtreecommitdiff
path: root/test.py
blob: cbe79d62b70f898f7e984234f2d56df03274f3ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python

import os

import nose.core

if 'NOSE_TESTMATCH' not in os.environ:
    os.environ['NOSE_TESTMATCH'] = '(?:^|[./])test(_|$)'

if 'NOSE_WITH_DOCTEST' not in os.environ:
    os.environ['NOSE_WITH_DOCTEST'] = '1'

if __name__ == '__main__':
    nose.core.run()