mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +00:00
Fix trivial oversight (missing adjustment in existing test).
This commit is contained in:
parent
6eace1a467
commit
5d349f6fde
@ -331,7 +331,9 @@ def _test_flaky_exception_failure_point_init_before_py_3_12():
|
|||||||
# Checking the first two lines of the traceback as formatted in error_string():
|
# Checking the first two lines of the traceback as formatted in error_string():
|
||||||
assert "test_exceptions.py(" in lines[3]
|
assert "test_exceptions.py(" in lines[3]
|
||||||
assert lines[3].endswith("): __init__")
|
assert lines[3].endswith("): __init__")
|
||||||
assert lines[4].endswith("): test_flaky_exception_failure_point_init")
|
assert lines[4].endswith(
|
||||||
|
"): _test_flaky_exception_failure_point_init_before_py_3_12"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def _test_flaky_exception_failure_point_init_py_3_12():
|
def _test_flaky_exception_failure_point_init_py_3_12():
|
||||||
|
Loading…
Reference in New Issue
Block a user