diff options
author | Jeff Epler <jepler@unpythonic.net> | 2018-03-25 16:05:32 -0500 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-05-30 11:11:24 +1000 |
commit | 05b13fd292b42f20affc7cae218d92447efbf6d6 (patch) | |
tree | 2b1f043c3000288fc01eb045eed7b0942e39f6b7 /tests/basics/class_super.py | |
parent | a1acbad27a1e996c8f95b3d1c801aa2e31df9c99 (diff) |
py/objtype: Fix assertion failures in mp_obj_new_type by checking types.
Fixes assertion failures when the arguments to type() were not of valid
types, e.g., when making calls like:
type("", (), 3)
type("", 3, {})
Diffstat (limited to 'tests/basics/class_super.py')
0 files changed, 0 insertions, 0 deletions