Skip to content

Commit 9abc097

Browse files
committed
Fix tests on windows & HostsSSHConfigs
1 parent cea4f2b commit 9abc097

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exec_helpers/_ssh_helpers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import functools
66
import pathlib
77
import typing
8-
from collections import UserDict
98
from collections.abc import Collection
109

1110
import paramiko
@@ -379,7 +378,7 @@ def controlmaster(self) -> bool | None:
379378
return self.__controlmaster
380379

381380

382-
class HostsSSHConfigs(UserDict[str, SSHConfig]):
381+
class HostsSSHConfigs(dict[str, SSHConfig]):
383382
"""Specific dictionary for managing SSHConfig records.
384383
385384
Instead of creating a new record by request, just generate default value and return if not exists.

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ passenv =
1818
HTTPS_PROXY
1919
no_proxy
2020
NO_PROXY
21+
USERNAME
2122
setev = PYTHONDONTWRITEBYTECODE=1
2223
deps =
2324
sphinx

0 commit comments

Comments
 (0)