diff --git a/testing/test_xspec.py b/testing/test_xspec.py index 2218e736..9fccc5b8 100644 --- a/testing/test_xspec.py +++ b/testing/test_xspec.py @@ -189,13 +189,7 @@ def test_popen_chdir_newsub(self, monkeypatch, tmp_path, makegateway): def test_ssh(self, specssh, makegateway): sshhost = specssh.ssh gw = makegateway("ssh=%s//id=ssh1" % sshhost) - rinfo = gw._rinfo() assert gw.id == "ssh1" - gw2 = execnet.SshGateway(sshhost) - rinfo2 = gw2._rinfo() - assert rinfo.executable == rinfo2.executable - assert rinfo.cwd == rinfo2.cwd - assert rinfo.version_info == rinfo2.version_info def test_vagrant(self, makegateway): vagrant_bin = shutil.which("vagrant")