File: 0001-Fix-test.patch

package info (click to toggle)
python-pycudwt 1.0.2-5
  • links: PTS
  • area: contrib
  • in suites: forky, trixie
  • size: 504 kB
  • sloc: cpp: 6,173; python: 798; sh: 9; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Roland Mas <roland.mas@entierement.net>
Date: Tue, 26 Nov 2024 15:49:25 +0100
Subject: Fix test

---
 test/test_wavelets.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_wavelets.py b/test/test_wavelets.py
index fbed4cd..1374d5f 100644
--- a/test/test_wavelets.py
+++ b/test/test_wavelets.py
@@ -20,9 +20,9 @@ except ImportError:
     print("ERROR : could not find the python module pywt")
     sys.exit(1)
 try:
-    from pypwt import Wavelets
+    from pycudwt import Wavelets
 except ImportError:
-    print("ERROR: could not load pypwt. Make sure it is installed (python setup.py install --user)")
+    print("ERROR: could not load pycudwt. Make sure it is installed (python setup.py install --user)")
     sys.exit(1)
 # Version <= 0.5 of PyWavelets uses the word "periodization"
 # for the dwt extension mode, instead of "per" for nigma/pywt version.