8000 Fix CPython test error · RustPython/RustPython@89e80d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89e80d2

Browse files
committed
Fix CPython test error
1 parent bb45696 commit 89e80d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/obj/objbool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub fn boolval(vm: &VirtualMachine, obj: PyObjectRef) -> PyResult<bool> {
6666
}
6767
None => {
6868
return Err(vm.new_type_error(format!(
69-
"{} object cannot be interpreted as integer",
69+
"'{}' object cannot be interpreted as an integer",
7070
bool_obj.class().name
7171
)))
7272
}

0 commit comments

Comments
 (0)
0