Skip to content

Commit 54d2985

Browse files
committed
Fix condition in test decorator.
1 parent 4b220b5 commit 54d2985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lxml/tests/common_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def dummy_test_method(self):
7272

7373
def needs_libxml(*version):
7474
return unittest.skipIf(
75-
etree.LIBXML_VERSION >= version,
75+
etree.LIBXML_VERSION < version,
7676
"needs libxml2 >= %s.%s.%s" % (version + (0, 0, 0))[:3])
7777

7878

0 commit comments

Comments
 (0)