Bypass Python tests not supported by -builtin

The base class is needed for the builtin class hierarchy, like many
other languages
This commit is contained in:
William S Fulton 2014-10-04 18:40:19 +01:00
commit ab79441151
3 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,10 @@
from import_nomodule import *
# This test is expected to fail with -builtin option.
# The base class is needed for the builtin class hierarchy
if is_python_builtin():
exit(0)
f = create_Foo()
test1(f,42)
delete_Foo(f)