diff --git a/sgp4/tests.py b/sgp4/tests.py index 66e306a..95debfc 100644 --- a/sgp4/tests.py +++ b/sgp4/tests.py @@ -2,7 +2,7 @@ try: from unittest2 import TestCase, main -except: +except ImportError: from unittest import TestCase, main import datetime as dt