Skip to content

Commit 391e9d3

Browse files
update test terminal
1 parent dc54990 commit 391e9d3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

debug_gym/gym/terminals/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
import sys
2-
31
from debug_gym.gym.terminals.docker import DockerTerminal
42
from debug_gym.gym.terminals.kubernetes import KubernetesTerminal
53
from debug_gym.gym.terminals.local import LocalTerminal
64
from debug_gym.gym.terminals.terminal import Terminal
75
from debug_gym.logger import DebugGymLogger
86

9-
# Preserve legacy debug_gym.gym.terminals.__init__.* access patterns.
10-
__init__ = sys.modules[__name__]
11-
127

138
def select_terminal(
149
terminal_config: dict | None = None,

tests/gym/terminals/test_terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def __init__(self, **kwargs):
164164
captured.update(kwargs)
165165

166166
monkeypatch.setattr(
167-
"debug_gym.gym.terminals.__init__.KubernetesTerminal",
167+
"debug_gym.gym.terminals.KubernetesTerminal",
168168
DummyK8s,
169169
)
170170

0 commit comments

Comments
 (0)