Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/m/Amara-2.0.0/test/xpath/test_parser.py   Amara(Download)
def _run_parser_pass(test_cases):
    for args, expected, ctx in test_cases:
        result = parse(*args).evaluate(ctx)
        if hasattr(expected, "isnan") and expected.isnan():
            assert result.isnan()