Account for test_cpp_exceptions -> _test_cpp_exception, same for *_py_*

This commit is contained in:
Oleksandr Pavlyk
2026-03-11 15:54:07 -05:00
parent e9208552c9
commit f227266ad0
2 changed files with 4 additions and 4 deletions

View File

@@ -6,12 +6,12 @@ import pytest
def test_cpp_exception():
with pytest.raises(RuntimeError, match="Test"):
bench._nvbench.test_cpp_exception()
bench._nvbench._test_cpp_exception()
def test_py_exception():
with pytest.raises(bench.NVBenchRuntimeError, match="Test"):
bench._nvbench.test_py_exception()
bench._nvbench._test_py_exception()
@pytest.mark.parametrize(