Commit 8ea42a68 authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Don't check for PyPDF version 3 specifically, check for >= 3. Thanks, Vagrant,...

Don't check for PyPDF version 3 specifically, check for >= 3. Thanks, Vagrant, for the patch. (Closes: #413)
parent cc21dac2
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ def skip_unless_pypdf3():
        except (ImportError, RuntimeError):
            return True

        return not pypdf.__version__.startswith("3.")
        return not int(pypdf.__version__.split(".")[0]) >= 3

    return skipif(fn(), reason="pypdf not installed or not version 3.x+")