tests/hghave.py
changeset 33697 4d1e79945c2e
parent 33528 c384ac3ea147
child 34394 dbf83230e8be
equal deleted inserted replaced
33696:1fa6023240f4 33697:4d1e79945c2e
   650         return False
   650         return False
   651 
   651 
   652 @check("fsmonitor", "running tests with fsmonitor")
   652 @check("fsmonitor", "running tests with fsmonitor")
   653 def has_fsmonitor():
   653 def has_fsmonitor():
   654     return 'HGFSMONITOR_TESTS' in os.environ
   654     return 'HGFSMONITOR_TESTS' in os.environ
       
   655 
       
   656 @check("fuzzywuzzy", "Fuzzy string matching library")
       
   657 def has_fuzzywuzzy():
       
   658     try:
       
   659         import fuzzywuzzy
       
   660         fuzzywuzzy.__version__
       
   661         return True
       
   662     except ImportError:
       
   663         return False