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

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()