Skip to content

Commit

Permalink
Make docstring escape sequence proof
Browse files Browse the repository at this point in the history
Matters on Windows, where the path can contain backslashes, i.e.
C:\User\... -> unknown unicode escape sequence.
  • Loading branch information
Malte Vesper authored and Malte Vesper committed Jun 8, 2022
1 parent 5853f9b commit 4ae2274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_docker_tools/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def build_fixture_function(callable, scope, wrapper_class, kwargs):
import pytest
def {name}({fixtures_str}):
\'\'\'
r\'\'\'
{docstring}
\'\'\'
real_kwargs = resolve_fixtures_in_params(request, kwargs)
Expand Down

0 comments on commit 4ae2274

Please sign in to comment.