diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /app-misc/yq/files/yq-2.11.1-tests.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'app-misc/yq/files/yq-2.11.1-tests.patch')
-rw-r--r-- | app-misc/yq/files/yq-2.11.1-tests.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/yq/files/yq-2.11.1-tests.patch b/app-misc/yq/files/yq-2.11.1-tests.patch new file mode 100644 index 000000000000..6b6231ad7eed --- /dev/null +++ b/app-misc/yq/files/yq-2.11.1-tests.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index a81f41b..f17f03c 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -84,7 +84,7 @@ class TestYq(unittest.TestCase): + unusable_tty_input = mock.Mock() + unusable_tty_input.isatty = mock.Mock(return_value=True) + +- self.run_yq("{}", [], expect_exit_codes={0} if sys.stdin.isatty() else {2}) ++ self.run_yq("{}", [], expect_exit_codes={0}) + self.run_yq("{}", ["."]) + self.run_yq(unusable_non_tty_input, [".", test_doc]) + self.run_yq(unusable_non_tty_input, [".", test_doc, test_doc]) |