SHA256
14
0
forked from pool/python-yq

Accepting request 891039 from home:susnux:branches:devel:languages:python

Update to 2.12.0

OBS-URL: https://build.opensuse.org/request/show/891039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yq?expand=0&rev=15
This commit is contained in:
2021-05-07 08:56:46 +00:00
committed by Git OBS Bridge
parent a76531e7f4
commit 71f5c5015e
5 changed files with 38 additions and 8 deletions

13
skip-broken-test.py Normal file
View File

@@ -0,0 +1,13 @@
diff -Nur yq-2.12.0/test/test.py yq-new/test/test.py
--- yq-2.12.0/test/test.py 2021-02-05 21:43:57.000000000 +0100
+++ yq-new/test/test.py 2021-05-06 15:19:23.546204914 +0200
@@ -77,7 +77,8 @@
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})
+ # https://github.com/kislyuk/yq/issues/114
+ # self.run_yq("{}", [], expect_exit_codes={0} if sys.stdin.isatty() else {2})
self.run_yq("{}", ["."])
self.run_yq(unusable_non_tty_input, [".", test_doc])
self.run_yq(unusable_non_tty_input, [".", test_doc, test_doc])