Bypass Python tests not supported by -builtin

Builtin types can't inherit from pure-python abstract bases
This commit is contained in:
William S Fulton 2014-10-06 20:06:08 +01:00
commit 49038b30b7
3 changed files with 10 additions and 7 deletions

View file

@ -3,6 +3,8 @@ from collections import *
# This is expected to fail with -builtin option
# Builtin types can't inherit from pure-python abstract bases
if is_python_builtin():
exit(0)
assert issubclass(Mapii, MutableMapping)
assert issubclass(Multimapii, MutableMapping)