summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2021-12-10 21:16:03 +0100
committerStefan Behnel <stefan_ml@behnel.de>2021-12-10 21:16:39 +0100
commit54d2985a36184a4b36017a6000fa4d11411f7292 (patch)
tree9045dcb0ac3c15a3e84eaa79a0c9c5557ee7c9c8
parent4b220b5ee6f53312418004d830d37cef4fbc1681 (diff)
downloadpython-lxml-54d2985a36184a4b36017a6000fa4d11411f7292.tar.gz
Fix condition in test decorator.
-rw-r--r--src/lxml/tests/common_imports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxml/tests/common_imports.py b/src/lxml/tests/common_imports.py
index 53780d99..57097e3c 100644
--- a/src/lxml/tests/common_imports.py
+++ b/src/lxml/tests/common_imports.py
@@ -72,7 +72,7 @@ def filter_by_version(test_class, version_dict, current_version):
def needs_libxml(*version):
return unittest.skipIf(
- etree.LIBXML_VERSION >= version,
+ etree.LIBXML_VERSION < version,
"needs libxml2 >= %s.%s.%s" % (version + (0, 0, 0))[:3])