From a5273133829ed3e2a8c8e3c44e37e198e109f340 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 30 Aug 2018 20:50:04 +0300 Subject: tests: Make bytes/str.count() tests skippable. --- tests/misc/features.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/misc') 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 # -- cgit v1.2.3