Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug whats_left
  • Loading branch information
youknowone committed Dec 23, 2025
commit b44229f7ca4f7718f405c4a0f397c2a70c9178ec
3 changes: 2 additions & 1 deletion whats_left.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def method_incompatibility_reason(typ, method_name, real_method_value):

if platform.python_implementation() == "CPython":
if not_implementeds:
sys.exit("ERROR: CPython should have all the methods")
sys.exit(f"ERROR: CPython should have all the methods but missing: {not_implementeds}")

mod_names = [
name.decode()
Expand Down Expand Up @@ -455,6 +455,7 @@ def remove_one_indent(s):
)
# The last line should be json output, the rest of the lines can contain noise
# because importing certain modules can print stuff to stdout/stderr
print(result.stderr, file=sys.stderr)
result = json.loads(result.stdout.splitlines()[-1])

if args.json:
Expand Down