summaryrefslogtreecommitdiff
path: root/networkx/readwrite
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2020-09-10 22:50:13 -0700
committerGitHub <noreply@github.com>2020-09-10 22:50:13 -0700
commit217c038509bdb0c3df33bf7ff8fd42c52f997e92 (patch)
tree2105017335eb771894e7cddba70325b809173e3a /networkx/readwrite
parent52a558248ddaaaaa0a29db55fea336dee29e595f (diff)
downloadnetworkx-217c038509bdb0c3df33bf7ff8fd42c52f997e92.tar.gz
Cleanup old platforms (#4202)
* Remove IronPython code * Remove Jython code
Diffstat (limited to 'networkx/readwrite')
-rw-r--r--networkx/readwrite/tests/test_gml.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/networkx/readwrite/tests/test_gml.py b/networkx/readwrite/tests/test_gml.py
index d18b5948..7511c233 100644
--- a/networkx/readwrite/tests/test_gml.py
+++ b/networkx/readwrite/tests/test_gml.py
@@ -336,10 +336,7 @@ graph
'"&&amp;&&#34;"',
[{(b"\xfd",): "\x7f", chr(0x4444): (1, 2)}, (2, "3")],
]
- try: # fails under IronPython
- data.append(chr(0x14444))
- except ValueError:
- data.append(chr(0x1444))
+ data.append(chr(0x14444))
data.append(literal_eval("{2.3j, 1 - 2.3j, ()}"))
G = nx.Graph()
G.name = data