mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
debug whats_left
This commit is contained in:
@@ -361,7 +361,7 @@ def compare():
|
||||
|
||||
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()
|
||||
@@ -455,6 +455,7 @@ result = subprocess.run(
|
||||
)
|
||||
# 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:
|
||||
|
||||
Reference in New Issue
Block a user