Skip to content

Commit

Permalink
Modify GML test to fix invalid octal character warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar committed Dec 14, 2023
1 parent 1dade0d commit 7e65b7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networkx/readwrite/tests/test_gml.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,8 @@ def assert_parse_error(gml):
"directed 1 multigraph 1 ]"
)
assert_parse_error(
"graph [edge [ source u'u\4200' target u'u\4200' ] "
+ "node [ id u'u\4200' label b ] ]"
"graph [edge [ source u'u\\4200' target u'u\\4200' ] "
+ "node [ id u'u\\4200' label b ] ]"
)

def assert_generate_error(*args, **kwargs):
Expand Down

0 comments on commit 7e65b7d

Please sign in to comment.