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

Skip to content

Commit d7acb41

Browse files
committed
Fix CPython test error
1 parent 655834d commit d7acb41

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