• Dean Moldovan's avatar
    Workaround for random failure of pytest capture on Windows · b6ccdc95
    Dean Moldovan authored
    pytest can capture test output both globally (controlled by the cmd line
    flag --capture) or locally (`capsys` and `capfd` fixtures). Enabling both
    methods at the same time causes problems on Windows: test output is not
    captured sometimes, resulting in test failure. This happens seemingly at
    random.
    
    This workaround disables global output capture ("-s", i.e. "--capture=no")
    leaving only the local capture fixtures. As a side-effect test output on
    AppVeyor CI is a little messy, but this will have to do until a better
    solution is found.
    b6ccdc95
.appveyor.yml 1.22 KB