Skip to content

Commit edefef4

Browse files
authored
Update test_interpreter.cpp
1 parent cd72edf commit edefef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_embed/test_interpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ TEST_CASE("Override cache") {
137137
}
138138

139139
TEST_CASE("Import error handling") {
140-
REQUIRE_NOTHROW(auto module_ = py::module_::import("widget_module"););
140+
auto module_ = py::module_::import("widget_module");
141141

142142
// Also verify submodules work
143143
REQUIRE(module_.attr("add")(1, 41).cast<int>() == 42);

0 commit comments

Comments
 (0)