@@ -54,9 +54,9 @@ TEST_F(PythonEngineFixture, BadMeasure) {
54
54
std::string expected_exception = fmt::format (R"( SWIG director method error. In method 'arguments': `ValueError('oops')`
55
55
56
56
Traceback (most recent call last):
57
- File "{0}", line 17 , in arguments
57
+ File "{0}", line 22 , in arguments
58
58
self.another_method()
59
- File "{0}", line 14 , in another_method
59
+ File "{0}", line 19 , in another_method
60
60
raise ValueError("oops")
61
61
ValueError: oops)" ,
62
62
scriptPath.generic_string ());
@@ -85,7 +85,7 @@ TEST_F(PythonEngineFixture, WrongMethodMeasure) {
85
85
fmt::format (R"( SWIG director method error. In method 'arguments': `AttributeError("'Model' object has no attribute 'nonExistingMethod'")`
86
86
87
87
Traceback (most recent call last):
88
- File "{}", line 14 , in arguments
88
+ File "{}", line 19 , in arguments
89
89
model.nonExistingMethod()
90
90
^^^^^^^^^^^^^^^^^^^^^^^
91
91
AttributeError: 'Model' object has no attribute 'nonExistingMethod')" ,
@@ -115,15 +115,15 @@ TEST_F(PythonEngineFixture, StackLevelTooDeepMeasure) {
115
115
fmt::format (R"( SWIG director method error. In method 'arguments': `RecursionError('maximum recursion depth exceeded')`
116
116
117
117
Traceback (most recent call last):
118
- File "{0}", line 16 , in arguments
118
+ File "{0}", line 21 , in arguments
119
119
s(10)
120
- File "{0}", line 6 , in s
120
+ File "{0}", line 11 , in s
121
121
return s(x)
122
122
^^^^
123
- File "{0}", line 6 , in s
123
+ File "{0}", line 11 , in s
124
124
return s(x)
125
125
^^^^
126
- File "{0}", line 6 , in s
126
+ File "{0}", line 11 , in s
127
127
return s(x)
128
128
^^^^
129
129
[Previous line repeated 996 more times]
0 commit comments