mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 00:27:20 -05:00
fix: skip the line mode pty run without pyte
The offline line mode test opened a pty with pyte missing and errored where its neighbours skip. A comment in install.py also carried a clause semicolon that the prose style test refuses.
This commit is contained in:
1 parent
625bee35cc
commit
e96d1326a3
5 files changed
+13
-11
No files matched your search
@@ -3601,6 +3601,8 @@ class LineModeOffline(unittest.TestCase):
|
||||
"""tui_audit_5 P2-3 and P3-8.4: the line mode under --offline asked to
|
||||
download, and said nothing of the data files."""
|
||||
|
||||
@unittest.skipUnless(pyte and pty and hasattr(pty, "fork"),
|
||||
"the line mode run needs pyte and a pty")
|
||||
def test_nothing_is_offered_that_cannot_come(self):
|
||||
with FakeRepository() as repo:
|
||||
env = {**repo.env(), "TERM": "xterm", install.OFFLINE_VARIABLE: "1"}
|
||||
|
||||
Reference in new issue
Block a user