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/attrtuple1.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/attrtuple1.py')
-rw-r--r-- | tests/basics/attrtuple1.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/basics/attrtuple1.py b/tests/basics/attrtuple1.py index c4daaaf25..597bfc2a3 100644 --- a/tests/basics/attrtuple1.py +++ b/tests/basics/attrtuple1.py @@ -4,6 +4,15 @@ import sys t = sys.implementation +# It can be just a normal tuple on small ports +try: + t.name +except AttributeError: + import sys + print("SKIP") + sys.exit() + + # test printing of attrtuple print(str(t).find("version=") > 0) |