diff options
| author | Arthur Gautier <baloo@gandi.net> | 2016-03-30 20:52:21 +0000 |
|---|---|---|
| committer | Arthur Gautier <baloo@gandi.net> | 2016-04-21 15:30:55 +0000 |
| commit | c1a2e4585a1404ee0cfaa6d2d2ad072e8807ef3e (patch) | |
| tree | f096ec987add348e4aa6cf4b33d33b9a1ad4ce29 /tests/utest.py | |
| parent | 8f0bab4c4a8b95739cc7a5704f15c1fe5b7149cd (diff) | |
| download | dnspython-c1a2e4585a1404ee0cfaa6d2d2ad072e8807ef3e.tar.gz | |
Adds tox and coverage.py
Signed-off-by: Arthur Gautier <baloo@gandi.net>
Diffstat (limited to 'tests/utest.py')
| -rw-r--r-- | tests/utest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/utest.py b/tests/utest.py index 3a217a1..d02fe41 100644 --- a/tests/utest.py +++ b/tests/utest.py @@ -1,6 +1,9 @@ import os.path import sys -import unittest +try: + import unittest2 as unittest +except ImportError: + import unittest if __name__ == '__main__': sys.path.insert(0, os.path.realpath('..')) |
