diff --git a/Lib/multiprocessing/resource_tracker.py b/Lib/multiprocessing/resource_tracker.py index 300138fc37159e3..3783c1ffc6e4a92 100644 --- a/Lib/multiprocessing/resource_tracker.py +++ b/Lib/multiprocessing/resource_tracker.py @@ -223,7 +223,7 @@ def main(fd): try: warnings.warn( f'resource_tracker: There appear to be {len(rtype_cache)} ' - 'leaked {rtype} objects to clean up at shutdown: {rtype_cache}' + f'leaked {rtype} objects to clean up at shutdown: {rtype_cache}' ) except Exception: pass