Use unittest2 where available, to support python <2.7
This commit is contained in:
parent
7668deba43
commit
658e3ca9f1
8 changed files with 32 additions and 8 deletions
|
@ -1,4 +1,7 @@
|
|||
import unittest
|
||||
try:
|
||||
import unittest2 as unittest
|
||||
except ImportError:
|
||||
import unittest
|
||||
import logging
|
||||
import openphoto
|
||||
import test_base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue