Created originally on Bitbucket by pconnell (Phil Connell)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
Some easy test fixes.
Pickling still has problems with several types and test_pyc_commandline_argument may fail for environmental reasons (magic number disagreements). Apart from those, all of the pypy/interpreter tests are passing.
Trivial fix for pycode.dump test
Also add an extra check to verify that the MAKE_FUNCTION opcode actually does the right thing with kw-only args with defaults!
Fix qualname of classes with non-ascii identifiers
Fix for running .pyc file as main
test_pyc_commandline_argument still fails due to wrong magic number in generated bytecode (CPython vs. PyPy default?)
Fix buffered stdout test
Expected that stderr output is unbuffered and thus appears first