Skip to content
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

Specify encoding to fix EncodingWarning in 3.10 #618

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 4, 2021

  1. Specify encoding to fix EncodingWarning in 3.10

    Fixes the `EncodingWarning` that exists in Python 3.10 by specifying the encoding as UTF-8 for both the read and write methods for the filesystem persister
    
    ```
    .../site-packages/vcr/persisters/filesystem.py:24: EncodingWarning: 'encoding' argument not specified
      with open(cassette_path, "w") as f:
    ```
    kkirsche committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    c5579ea View commit details
    Browse the repository at this point in the history