Submitter | Rishabh Madan |
---|---|
Date | July 29, 2017, 9:54 a.m. |
Message ID | <1d79b04c402f3f431ca0.1501322054@bunty> |
Download | mbox | patch |
Permalink | /patch/22574/ |
State | Superseded |
Headers | show |
Comments
Patch
diff -r 9a944e908ecf -r 1d79b04c402f tests/hghave.py --- a/tests/hghave.py Tue Jul 18 23:04:08 2017 +0530 +++ b/tests/hghave.py Sat Jul 29 14:06:26 2017 +0530 @@ -652,3 +652,12 @@ @check("fsmonitor", "running tests with fsmonitor") def has_fsmonitor(): return 'HGFSMONITOR_TESTS' in os.environ + +@check("fuzzywuzzy", "Fuzzy string matching library") +def has_fuzzywuzzy(): + try: + import fuzzywuzzy + fuzzywuzzy.__version__ + return True + except ImportError: + return False