diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-02-15 00:57:56 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-02-15 00:57:56 +0300 |
commit | 83623b2fdeee0ada918ee4f91a99f3d732c3dee7 (patch) | |
tree | 9d73647db282117a5c28e26f35d5bd6f703b0ac6 /tests/basics/class_super_object.py | |
parent | 453f98914e66b65f7335fb6d24269130c51777be (diff) |
tests/basic/[a-f]*: Make skippable.
For small ports which don't have all features enabled.
Diffstat (limited to 'tests/basics/class_super_object.py')
-rw-r--r-- | tests/basics/class_super_object.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/basics/class_super_object.py b/tests/basics/class_super_object.py index 21b97328e..a841d34ab 100644 --- a/tests/basics/class_super_object.py +++ b/tests/basics/class_super_object.py @@ -1,4 +1,12 @@ # Calling object.__init__() via super().__init__ +try: + # If we don't expose object.__init__ (small ports), there's + # nothing to test. + object.__init__ +except AttributeError: + import sys + print("SKIP") + sys.exit() class Test(object): def __init__(self): |