Skip to content

Commit 4ee03f9

Browse files
committed
fix python exceptions
1 parent 6d74522 commit 4ee03f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmc-langs-python3/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct PythonTestResult {
4848
pub points: Vec<String>,
4949
pub message: String,
5050
#[serde(default)]
51-
pub exceptions: Vec<String>,
51+
pub backtrace: Vec<String>,
5252
}
5353

5454
impl PythonTestResult {
@@ -58,7 +58,7 @@ impl PythonTestResult {
5858
successful: self.passed,
5959
message: self.message,
6060
points: self.points,
61-
exception: self.exceptions,
61+
exception: self.backtrace,
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)