def test_newcode_unknown_args():
code = py.code.Code(compile("", '', 'exec'))
-> py.test.raises(TypeError, 'code.new(filename="hello")')