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/test_namedict.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/test_namedict.py')
| -rw-r--r-- | tests/test_namedict.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_namedict.py b/tests/test_namedict.py index e256bfe..d17d11d 100644 --- a/tests/test_namedict.py +++ b/tests/test_namedict.py @@ -13,7 +13,10 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -import unittest +try: + import unittest2 as unittest +except ImportError: + import unittest import dns.name import dns.namedict |
