Skip to content

Commit 26c7e95

Browse files
SecretionsRmStorm
authored andcommitted
Use list for compose_files instead of map
This variable gets read twice when loading projects, so we need to use a list rather than a map so the value doesn't get blown away.
1 parent e96511d commit 26c7e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytest_docker_compose/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def docker_project(self, request):
126126
project_dir = '.'
127127

128128
# py35 needs strings for os.path functions
129-
compose_files = map(str, compose_files)
129+
compose_files = [str(p) for p in compose_files]
130130

131131
project = project_from_options(
132132
project_dir=str(project_dir),

0 commit comments

Comments
 (0)