@responses.activate
def test_download_already_exists_invalid(tempdir, mock_url):
    with captured_logging() as buf:
        path = op.join(tempdir, 'test')
        # Create empty file.
        open(path, 'a').close()
        _check(_dl(path))
    assert buf.getvalue() in 'redownload'
dataset/ETHPy150Open kwikteam/phy/phy/io/tests/test_datasets.py/test_download_already_exists_invalid/swapped operands of `in`