From bc08757977c80f65f1610a330c293a28b74ce2d2 Mon Sep 17 00:00:00 2001 From: John Evans Date: Fri, 21 Jun 2013 08:22:35 -0400 Subject: [PATCH] Use absolute rather than relative "up-the-ladder" imports. This eases the problem of running the unittests via the command line with "python -m unittest discover -s /start/path". #53 --- glymur/test/test_opj_suite_neg.py | 2 +- glymur/test/test_opj_suite_write.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glymur/test/test_opj_suite_neg.py b/glymur/test/test_opj_suite_neg.py index 03cb437..5754e16 100644 --- a/glymur/test/test_opj_suite_neg.py +++ b/glymur/test/test_opj_suite_neg.py @@ -11,7 +11,7 @@ import warnings import numpy as np import pkg_resources -from ..lib import openjp2 as opj2 +from glymur.lib import openjp2 as opj2 # Need some combination of matplotlib, PIL, or scikits-image for reading # other image formats. diff --git a/glymur/test/test_opj_suite_write.py b/glymur/test/test_opj_suite_write.py index 0526fc3..74237c2 100644 --- a/glymur/test/test_opj_suite_write.py +++ b/glymur/test/test_opj_suite_write.py @@ -11,7 +11,7 @@ import warnings import numpy as np -from ..lib import openjp2 as opj2 +from glymur.lib import openjp2 as opj2 # Need some combination of matplotlib, PIL, or scikits-image for reading # other image formats.