8 from pybind11_tests
import eval_
as m
13 assert m.test_eval_statements()
14 assert capture ==
"Hello World!" 17 assert m.test_eval_single_statement()
19 assert m.test_eval_failure()
22 @pytest.mark.xfail(
"env.PYPY and not env.PY2", raises=RuntimeError)
24 filename = os.path.join(os.path.dirname(__file__),
"test_eval_call.py")
25 assert m.test_eval_file(filename)
27 assert m.test_eval_file_failure()