I ran into an issue on Windows where my arguments to a pytest.parametrize-decorated test were native paths (i.e. containing backslashes), which didn't play well with the files generated from the cassette name. This PR simply augments the set of chars that pytest._sanitize will replace, making it more robust (in particular on Windows).
I ran into an issue on Windows where my arguments to a
pytest.parametrize
-decorated test were native paths (i.e. containing backslashes), which didn't play well with the files generated from the cassette name. This PR simply augments the set of chars thatpytest._sanitize
will replace, making it more robust (in particular on Windows).