mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 05:13:44 +08:00
Remove some unused code from the tests
This commit is contained in:
parent
56a1403350
commit
c97b1a992c
|
@ -1,8 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
|
||||
import re
|
||||
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
sp.send,
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
sp = SpawnedProc(args=["-d", "reader"])
|
||||
sp.expect_prompt()
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
from pexpect_helper import SpawnedProc
|
||||
import re
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
# Disable under SAN - keeps failing because the timing is too tight
|
||||
|
|
|
@ -3,7 +3,6 @@ from pexpect_helper import SpawnedProc
|
|||
import os
|
||||
import signal
|
||||
import tempfile
|
||||
from time import sleep
|
||||
|
||||
# Ensure that on-exit handlers run even if we get SIGHUP.
|
||||
with tempfile.NamedTemporaryFile(mode="r", encoding="utf8") as tf:
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import subprocess
|
||||
import sys
|
||||
import signal
|
||||
import time
|
||||
import os
|
||||
|
||||
sp = SpawnedProc()
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import os
|
||||
import platform
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import subprocess
|
||||
import sys
|
||||
from time import sleep
|
||||
import os
|
||||
|
||||
os.environ["fish_escape_delay_ms"] = "10"
|
||||
SpawnedProc()
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
sp.send,
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import subprocess
|
||||
import sys
|
||||
from time import sleep
|
||||
import os
|
||||
|
||||
SpawnedProc()
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
sp.send,
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
import os
|
||||
|
||||
env = os.environ.copy()
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
from pexpect_helper import SpawnedProc
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
sp = SpawnedProc()
|
||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
# Verify that stdin is properly set to blocking even if a job tweaks it.
|
||||
from pexpect_helper import SpawnedProc
|
||||
import sys
|
||||
import signal
|
||||
import time
|
||||
import os
|
||||
|
||||
sp = SpawnedProc()
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
import signal
|
||||
from pexpect_helper import SpawnedProc
|
||||
|
||||
sp = SpawnedProc()
|
||||
|
|
Loading…
Reference in New Issue
Block a user