]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/environment.py
CI: always use the latest version of pylint
[nominatim.git] / test / bdd / environment.py
index 0acc73b436158f373474a63cf028166f87460b9a..ee07e6028c1ca67497082316821fb219a0c0d9f6 100644 (file)
@@ -59,5 +59,5 @@ def after_scenario(context, scenario):
 
 def before_tag(context, tag):
     if tag == 'fail-legacy':
-        if context.config.userdata['TOKENIZER'] in (None, 'legacy'):
+        if context.config.userdata['TOKENIZER'] == 'legacy':
             context.scenario.skip("Not implemented in legacy tokenizer")