Remove IronPython code
Remove Jython code
Showing 1 of 4 files from the diff.
Other files ignored by Codecov
networkx/algorithms/tests/test_graphical.py
has changed.
networkx/readwrite/tests/test_gml.py
has changed.
@@ -102,14 +102,7 @@
Loading
102 | 102 | return match |
|
103 | 103 | ||
104 | 104 | ||
105 | - | try: |
|
106 | - | categorical_edge_match = copyfunc(categorical_node_match, "categorical_edge_match") |
|
107 | - | except NotImplementedError: |
|
108 | - | # IronPython lacks support for types.FunctionType. |
|
109 | - | # https://github.com/networkx/networkx/issues/949 |
|
110 | - | # https://github.com/networkx/networkx/issues/1127 |
|
111 | - | def categorical_edge_match(*args, **kwargs): |
|
112 | - | return categorical_node_match(*args, **kwargs) |
|
105 | + | categorical_edge_match = copyfunc(categorical_node_match, "categorical_edge_match") |
|
113 | 106 | ||
114 | 107 | ||
115 | 108 | def categorical_multiedge_match(attr, default): |
@@ -198,14 +191,7 @@
Loading
198 | 191 | return match |
|
199 | 192 | ||
200 | 193 | ||
201 | - | try: |
|
202 | - | numerical_edge_match = copyfunc(numerical_node_match, "numerical_edge_match") |
|
203 | - | except NotImplementedError: |
|
204 | - | # IronPython lacks support for types.FunctionType. |
|
205 | - | # https://github.com/networkx/networkx/issues/949 |
|
206 | - | # https://github.com/networkx/networkx/issues/1127 |
|
207 | - | def numerical_edge_match(*args, **kwargs): |
|
208 | - | return numerical_node_match(*args, **kwargs) |
|
194 | + | numerical_edge_match = copyfunc(numerical_node_match, "numerical_edge_match") |
|
209 | 195 | ||
210 | 196 | ||
211 | 197 | def numerical_multiedge_match(attr, default, rtol=1.0000000000000001e-05, atol=1e-08): |
@@ -302,14 +288,7 @@
Loading
302 | 288 | return match |
|
303 | 289 | ||
304 | 290 | ||
305 | - | try: |
|
306 | - | generic_edge_match = copyfunc(generic_node_match, "generic_edge_match") |
|
307 | - | except NotImplementedError: |
|
308 | - | # IronPython lacks support for types.FunctionType. |
|
309 | - | # https://github.com/networkx/networkx/issues/949 |
|
310 | - | # https://github.com/networkx/networkx/issues/1127 |
|
311 | - | def generic_edge_match(*args, **kwargs): |
|
312 | - | return generic_node_match(*args, **kwargs) |
|
291 | + | generic_edge_match = copyfunc(generic_node_match, "generic_edge_match") |
|
313 | 292 | ||
314 | 293 | ||
315 | 294 | def generic_multiedge_match(attr, default, op): |
Files | Coverage |
---|---|
networkx | 93.55% |
Project Totals (275 files) | 93.55% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.