diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-05-12 18:35:03 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-05-12 19:13:06 +0200 |
| commit | dc414511a5b92b27cd3d890f62c6cd504b78e8db (patch) | |
| tree | 131fe65f99d941d03d1cef12cc5cbf45b2fdd617 /dev-python/argcomplete/files | |
| parent | ed0ea3cf54700bbdb0c3dfdecef7d79c9a047c9a (diff) | |
| download | gentoo-dc414511a5b92b27cd3d890f62c6cd504b78e8db.tar.gz gentoo-dc414511a5b92b27cd3d890f62c6cd504b78e8db.tar.bz2 gentoo-dc414511a5b92b27cd3d890f62c6cd504b78e8db.zip | |
dev-python/argcomplete: Fix test flakiness
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argcomplete/files')
| -rw-r--r-- | dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch new file mode 100644 index 000000000000..0e9f2fa1cea6 --- /dev/null +++ b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index c8f9419..ca38be6 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -73,7 +73,7 @@ def _repl_sh(command, args, non_printable_insert): + + + def bash_repl(command="bash"): +- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh") ++ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh") + sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]") + return sh + |
