• Wenzel Jakob's avatar
    use a more conservative mechanism to check for pytest · 0e49c022
    Wenzel Jakob authored
    On a debian jessie machine, running 'python --version --noconftest' caused
    pytest to try and run the test suite with the not-yet-compiled extension
    module, thus failing the test. This commit chages the pytest detection
    so that it only attempts to run an import statement.
    0e49c022
CMakeLists.txt 6.02 KB