File: 0001-Disable-nose.patch

package info (click to toggle)
traittypes 0.2.1-4
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 172 kB
  • sloc: python: 514; makefile: 161
file content (25 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Roland Mas <lolando@debian.org>
Date: Fri, 11 Nov 2022 18:16:48 +0100
Subject: Disable nose

---
 traittypes/tests/test_import_errors.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/traittypes/tests/test_import_errors.py b/traittypes/tests/test_import_errors.py
index e8a8585..720d566 100644
--- a/traittypes/tests/test_import_errors.py
+++ b/traittypes/tests/test_import_errors.py
@@ -1,10 +1,10 @@
 
-import nose.tools as nt
+# import nose.tools as nt
 
 from ..traittypes import _DelayedImportError
 
 
-@nt.raises(RuntimeError)
+# @nt.raises(RuntimeError)
 def test_delayed_access_raises():
     dummy = _DelayedImportError('mypackage')
     dummy.asarray([1, 2, 3])