File: fix-postinst-warning.patch

package info (click to toggle)
networkx 3.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,700 kB
  • sloc: python: 105,310; xml: 544; makefile: 131; javascript: 120; sh: 34
file content (19 lines) | stat: -rw-r--r-- 668 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
Description: Fix postinst warning
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1060444
Forwarded: no
Last-Update: 2024-05-06

--- networkx-3.2.1.orig/networkx/readwrite/tests/test_gml.py
+++ networkx-3.2.1/networkx/readwrite/tests/test_gml.py
@@ -549,8 +549,8 @@
             "directed 1 multigraph 1 ]"
         )
         assert_parse_error(
-            "graph [edge [ source '\u4200' target '\u4200' ] "
-            + "node [ id '\u4200' label b ] ]"
+            r"graph [edge [ source '\u4200' target '\u4200' ] "
+            + r"node [ id '\u4200' label b ] ]"
         )
 
         def assert_generate_error(*args, **kwargs):