Run both ``fuse`` and ``fuse_linear`` and compare results
(*args, **kwargs)
| 36 | |
| 37 | |
| 38 | def fuse2(*args, **kwargs): |
| 39 | """Run both ``fuse`` and ``fuse_linear`` and compare results""" |
| 40 | rv1 = fuse_linear(*args, **kwargs) |
| 41 | if kwargs.get("rename_keys") is not False: |
| 42 | return rv1 |
| 43 | rv2 = fuse(*args, **kwargs) |
| 44 | assert rv1 == rv2 |
| 45 | return rv1 |
| 46 | |
| 47 | |
| 48 | def with_deps(dsk): |
nothing calls this directly
no test coverage detected
searching dependent graphs…