File: 0001-Fix-SyntaxWarning.patch

package info (click to toggle)
orange3 3.40.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,928 kB
  • sloc: python: 162,745; ansic: 622; makefile: 322; sh: 93; cpp: 77
file content (21 lines) | stat: -rw-r--r-- 859 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
From: Roland Mas <roland.mas@entierement.net>
Date: Fri, 13 Mar 2026 15:37:45 +0100
Subject: Fix SyntaxWarning

---
 Orange/widgets/tests/test_widgets_outputs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Orange/widgets/tests/test_widgets_outputs.py b/Orange/widgets/tests/test_widgets_outputs.py
index 294946f..d08ed91 100644
--- a/Orange/widgets/tests/test_widgets_outputs.py
+++ b/Orange/widgets/tests/test_widgets_outputs.py
@@ -9,7 +9,7 @@ from Orange.canvas.config import Config
 
 class TestWidgetOutputs(unittest.TestCase):
     def test_outputs(self):
-        re_send = re.compile('\\n\s+self.send\("([^"]*)"')
+        re_send = re.compile(r'\\n\s+self.send\("([^"]*)"')
         disc = Config.widget_discovery(WidgetRegistry())
         disc.run(itertools.islice(Config.widgets_entry_points(), 0, 1))
         errors = []