Skip to content

Commit 3a31883

Browse files
refactor: remove remnant code from past merge
1 parent e84fe02 commit 3a31883

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

core/testcontainers/core/config.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ def read_tc_properties() -> dict[str, str]:
8383
return settings
8484

8585

86-
_WARNINGS = {
87-
"DOCKER_AUTH_CONFIG": "DOCKER_AUTH_CONFIG is experimental, see testcontainers/testcontainers-python#566",
88-
"tc_properties_get_tc_host": "this method has moved to property 'tc_properties_tc_host'",
89-
}
86+
_WARNINGS = {"DOCKER_AUTH_CONFIG": "DOCKER_AUTH_CONFIG is experimental, see testcontainers/testcontainers-python#566"}
9087

9188

9289
@dataclass
@@ -131,8 +128,6 @@ def docker_auth_config(self, value: str) -> None:
131128
self._docker_auth_config = value
132129

133130
def tc_properties_get_tc_host(self) -> Union[str, None]:
134-
if "tc_properties_get_tc_host" in _WARNINGS:
135-
warning(_WARNINGS.pop("tc_properties_get_tc_host"))
136131
return self.tc_properties.get("tc.host")
137132

138133
def tc_properties_testcontainers_reuse_enable(self) -> bool:

0 commit comments

Comments
 (0)