(s)
| 316 | |
| 317 | def symbolic_equal(a, b, tolerance, timeout=10.0): |
| 318 | def _parse(s): |
| 319 | for f in [parse_expr, parse_latex]: |
| 320 | try: |
| 321 | with time_limit(timeout): |
| 322 | return f(s) |
| 323 | except Exception: |
| 324 | pass |
| 325 | return s |
| 326 | |
| 327 | a = _parse(a) |
| 328 | b = _parse(b) |
no test coverage detected