summaryrefslogtreecommitdiff
path: root/tests/run.py
blob: eee7d4d67e329019621c1b7c26c3b417fa7584a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: utf-8 -*-
"""
    Pygments unit tests
    ~~~~~~~~~~~~~~~~~~

    Usage::

        python run.py [testfile ...]


    :copyright: 2006-2007 by Georg Brandl.
    :license: GNU GPL, see LICENSE for more details.
"""

import sys

try:
    import nose
except ImportError:
    print >> sys.stderr, "nose is required to run the test suites"
    sys.exit(1)

nose.main()