1 From 76dbf22b5b72198720ae24a1f25d2f2de1e2437d Mon Sep 17 00:00:00 2001
2 From: Mohammed El-Afifi <Mohammed_ElAfifi@yahoo.com>
3 Date: Tue, 13 Dec 2022 19:29:02 +0200
4 Subject: [PATCH] Drop the dependency on `py` (#12)
7 pytest_travis_fold.py | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
10 diff --git a/pytest_travis_fold.py b/pytest_travis_fold.py
11 index 609ff76..a5b520b 100644
12 --- a/pytest_travis_fold.py
13 +++ b/pytest_travis_fold.py
15 from functools import partial, update_wrapper
18 -from py.builtin import _basestring
21 __author__ = "Eldar Abusalimov"
22 @@ -82,7 +81,7 @@ def __init__(self, fold_enabled='auto'):
23 self.setup_fold_enabled(fold_enabled)
25 def setup_fold_enabled(self, value='auto'):
26 - if isinstance(value, _basestring):
27 + if isinstance(value, str):