Public bug reported: ``` Traceback (most recent call last): File "/usr/bin/cram3", line 7, in <module> sys.exit(cram.main(sys.argv[1:])) File "/usr/lib/python3/dist-packages/cram/_main.py", line 197, in main refout, postout, diff = test() File "/usr/lib/python3/dist-packages/cram/_cli.py", line 83, in testwrapper refout, postout, diff = test() File "/usr/lib/python3/dist-packages/cram/_run.py", line 71, in test return testfile(abspath, shell, indent=indent, File "/usr/lib/python3/dist-packages/cram/_test.py", line 227, in testfile return test(f, shell, indent=indent, testname=testname, env=env, File "/usr/lib/python3/dist-packages/cram/_test.py", line 167, in test ret = int(cmd.split()[1]) ValueError: invalid literal for int() with base 10: b'$?' ```
https://github.com/brodie/cram/issues/28 suggests that it's "tests with stdin lines" but my not-yet-reduced example doesn't have any of those. Interestingly, though `--verbose` doesn't change anything, using `--debug` does make the error not occur (at the cost of vast amounts of output.) ** Affects: cram (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901372 Title: cram3 crashes with "invalid literal for int" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cram/+bug/1901372/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs