Skip to content

Commit cf0f47e

Browse files
committed
Update tracebacks in test due to adding 5 license lines
1 parent 16aa33d commit cf0f47e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

python/engine/test/PythonEngine_GTest.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ TEST_F(PythonEngineFixture, BadMeasure) {
5454
std::string expected_exception = fmt::format(R"(SWIG director method error. In method 'arguments': `ValueError('oops')`
5555
5656
Traceback (most recent call last):
57-
File "{0}", line 17, in arguments
57+
File "{0}", line 22, in arguments
5858
self.another_method()
59-
File "{0}", line 14, in another_method
59+
File "{0}", line 19, in another_method
6060
raise ValueError("oops")
6161
ValueError: oops)",
6262
scriptPath.generic_string());
@@ -85,7 +85,7 @@ TEST_F(PythonEngineFixture, WrongMethodMeasure) {
8585
fmt::format(R"(SWIG director method error. In method 'arguments': `AttributeError("'Model' object has no attribute 'nonExistingMethod'")`
8686
8787
Traceback (most recent call last):
88-
File "{}", line 14, in arguments
88+
File "{}", line 19, in arguments
8989
model.nonExistingMethod()
9090
^^^^^^^^^^^^^^^^^^^^^^^
9191
AttributeError: 'Model' object has no attribute 'nonExistingMethod')",
@@ -115,15 +115,15 @@ TEST_F(PythonEngineFixture, StackLevelTooDeepMeasure) {
115115
fmt::format(R"(SWIG director method error. In method 'arguments': `RecursionError('maximum recursion depth exceeded')`
116116
117117
Traceback (most recent call last):
118-
File "{0}", line 16, in arguments
118+
File "{0}", line 21, in arguments
119119
s(10)
120-
File "{0}", line 6, in s
120+
File "{0}", line 11, in s
121121
return s(x)
122122
^^^^
123-
File "{0}", line 6, in s
123+
File "{0}", line 11, in s
124124
return s(x)
125125
^^^^
126-
File "{0}", line 6, in s
126+
File "{0}", line 11, in s
127127
return s(x)
128128
^^^^
129129
[Previous line repeated 996 more times]

0 commit comments

Comments
 (0)