gh-114312: Fix rare event counter tests on aarch64 (GH-114554)

This commit is contained in:
Michael Droettboom 2024-01-26 05:10:03 -05:00 committed by GitHub
parent 06c5de36f2
commit d0f7f5c41d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -1642,11 +1642,11 @@ get_rare_event_counters(PyObject *self, PyObject *type)
return Py_BuildValue(
"{sksksksksk}",
"set_class", interp->rare_events.set_class,
"set_bases", interp->rare_events.set_bases,
"set_eval_frame_func", interp->rare_events.set_eval_frame_func,
"builtin_dict", interp->rare_events.builtin_dict,
"func_modification", interp->rare_events.func_modification
"set_class", (unsigned long)interp->rare_events.set_class,
"set_bases", (unsigned long)interp->rare_events.set_bases,
"set_eval_frame_func", (unsigned long)interp->rare_events.set_eval_frame_func,
"builtin_dict", (unsigned long)interp->rare_events.builtin_dict,
"func_modification", (unsigned long)interp->rare_events.func_modification
);
}