diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-05-17 20:23:40 +0200 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2019-05-18 16:41:57 -0400 |
commit | 6b5f89a91590c6421f3b710e323d53bbcef16ee1 (patch) | |
tree | 33549e2eb85d5926314dcdd07f6d1a1549a57865 /dev-python/invoke | |
parent | dev-util/bazel: add app-arch/zip to DEPEND (diff) | |
download | gentoo-6b5f89a91590c6421f3b710e323d53bbcef16ee1.tar.gz gentoo-6b5f89a91590c6421f3b710e323d53bbcef16ee1.tar.bz2 gentoo-6b5f89a91590c6421f3b710e323d53bbcef16ee1.zip |
dev-python/invoke: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12031
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Diffstat (limited to 'dev-python/invoke')
-rw-r--r-- | dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch b/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch deleted file mode 100644 index d09eac74f91d..000000000000 --- a/dev-python/invoke/files/invoke-1.1.0-skip-pty-tests.patch +++ /dev/null @@ -1,29 +0,0 @@ -This patch skips all tests related to PTYs: they all fail under portage -because we don't have a valid TTY. Skip them. A bing chunk of them are -skipped through "skipper()" under mock_pty. The rest of them are skipped -by simulation windows (tests that don't run under windows don't run under -portage either). -diff --git a/tests/_util.py b/tests/_util.py -index d954946b..27381cfd 100644 ---- a/tests/_util.py -+++ b/tests/_util.py -@@ -24,7 +24,7 @@ support = os.path.join(os.path.dirname(__file__), "_support") - def skip_if_windows(fn): - @wraps(fn) - def wrapper(*args, **kwargs): -- if WINDOWS: -+ if True: - skip() - return fn(*args, **kwargs) - -@@ -190,6 +190,10 @@ def mock_pty( - return skip_if_windows - - def decorator(f): -+ def skipper(*args, **kwargs): -+ skip() -+ -+ return skipper - import fcntl - - ioctl_patch = patch("invoke.runners.fcntl.ioctl", wraps=fcntl.ioctl) |