Skip to content

Commit 6ca0574

Browse files
style: pre-commit fixes
1 parent d33d376 commit 6ca0574

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎tests/test_eval.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ TEST_SUBMODULE(eval_, m) {
103103
throw std::runtime_error("py::exec did not raise RuntimeError");
104104
} catch (py::error_already_set &e) {
105105
py::object tb = e.trace();
106-
for (py::object next = tb.attr("tb_next"); !next.is_none(); next = tb.attr("tb_next")) {
106+
for (py::object next = tb.attr("tb_next"); !next.is_none();
107+
next = tb.attr("tb_next")) {
107108
tb = std::move(next);
108109
}
109110
traceback_lineno = tb.attr("tb_lineno").cast<int>();

0 commit comments

Comments
 (0)