Skip to content

testing: fix warning issued by test_cache_writefail_cachfile_silent #7129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

bluetech
Copy link
Member

Remove this message from the warning summary of pytest's own testsuite:

testing/test_cacheprovider.py::TestNewAPI::test_cache_writefail_cachfile_silent
  testing/test_cacheprovider.py:40: PytestCacheWarning: could not create cache path /tmp/pytest-of-ran/pytest-2/test_cache_writefail_cachfile_silent0/.pytest_cache/v/test/broken
    cache.set("test/broken", [])

Remove this message which was shown in the warning summary of pytest's
own testsuite:

    testing/test_cacheprovider.py::TestNewAPI::test_cache_writefail_cachfile_silent
      testing/test_cacheprovider.py:40: PytestCacheWarning: could not create cache path /tmp/pytest-of-ran/pytest-2/test_cache_writefail_cachfile_silent0/.pytest_cache/v/test/broken
        cache.set("test/broken", [])
@nicoddemus
Copy link
Member

Thanks!

@bluetech bluetech merged commit 077d1c3 into pytest-dev:master Apr 29, 2020
@bluetech bluetech deleted the testing-cache-writefail-warning branch June 17, 2020 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants