Skip to content

Commit 4db4b4d

Browse files
committed
make tests work using CDOException
1 parent e6887e6 commit 4db4b4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/cdo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__author__ = "Brian Earl Spilner [email protected]"
22
__version__ = "1.6"
33

4-
from cdo import Cdo
4+
from .cdo import Cdo, CDOException

python/test/test_cdo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# add local dir to search path
2424
sys.path.insert(0,os.path.dirname(sys.path[0]))
25-
from cdo import Cdo,CDOException,CdoTempfileStore
25+
from cdo import Cdo, CDOException
2626

2727

2828
if 'CDF_MOD' in os.environ:

0 commit comments

Comments
 (0)