[python-dtcwt] 329/497: moved import out of function...

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository python-dtcwt.

commit 20e7c6fa95a0dda7bb03caa044f92ab8e051be0e
Author: timseries <timothy.daniel.roberts at gmail.com>
Date:   Wed Feb 5 09:02:01 2014 +0000

    moved import out of function...
---
 tests/testagainstmatlab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/testagainstmatlab.py b/tests/testagainstmatlab.py
index b37ab1c..9173f64 100644
--- a/tests/testagainstmatlab.py
+++ b/tests/testagainstmatlab.py
@@ -10,6 +10,7 @@ from dtcwt.lowlevel import coldfilt, colifilt
 from dtcwt.sampling import rescale_highpass
 
 from dtcwt.backend.base import TransformDomainSignal, ReconstructedSignal
+from dtcwt.backend.backend_numpy import Transform3d
 
 from .util import assert_almost_equal, summarise_mat, summarise_cube, assert_percentile_almost_equal
 
@@ -115,7 +116,6 @@ def test_rescale_highpass():
     assert_percentile_almost_equal_to_summary(Xrescale, verif['lena_upsample'], 60, tolerance=TOLERANCE)
 
 def test_transform3d_numpy():
-    from dtcwt.backend.backend_numpy import Transform3d
     transform = Transform3d(biort='near_sym_a',qshift='qshift_b')
     td_signal = transform.forward(qbgn, nlevels=3, include_scale=True, discard_level_1=False)
     Yl, Yh, Yscale = td_signal.lowpass, td_signal.subbands, td_signal.scales

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list