Skip to content

Commit b1b4811

Browse files
vikahltillahoffmann
andcommitted
Update core/testcontainers/core/container.py after tillahoffmanns review
Co-authored-by: Till Hoffmann <tillahoffmann@gmail.com>
1 parent f280854 commit b1b4811

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

core/testcontainers/core/container.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ def __init__(
6161

6262
self._command = command
6363

64-
self.env = {}
65-
if env:
66-
for variable, value in env.items():
67-
self.with_env(key, value)
64+
self.env = env or {}
6865

6966
self._name = name
7067

0 commit comments

Comments
 (0)