diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2018-08-30 20:50:04 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-10-22 22:50:28 +1100 |
commit | a5273133829ed3e2a8c8e3c44e37e198e109f340 (patch) | |
tree | 4bc88a3f8c785c3d053457ee2e3b6084cbfbede7 /tests/misc/features.py | |
parent | 5a91fce9f868eeba37a0b1cf6c3b4435ed5eecec (diff) |
tests: Make bytes/str.count() tests skippable.
Diffstat (limited to 'tests/misc/features.py')
-rw-r--r-- | tests/misc/features.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/misc/features.py b/tests/misc/features.py index 3efb476ab..874945bfc 100644 --- a/tests/misc/features.py +++ b/tests/misc/features.py @@ -1,3 +1,9 @@ +try: + str.count +except AttributeError: + print("SKIP") + raise SystemExit + # mad.py # Alf Clement 27-Mar-2014 # |