No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
52a5582
... +0 ...
217c038
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
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 | 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 | 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): |
Learn more Showing 1 files with coverage changes found.
networkx/algorithms/shortest_paths/weighted.py
Files | Coverage |
---|---|
networkx | 0.02% 93.55% |
Project Totals (275 files) | 93.55% |
217c038
52a5582