[ARVADOS] updated: 1.3.0-3001-g5aca41295

Git user git at public.arvados.org
Tue Sep 8 19:50:19 UTC 2020


Summary of changes:
 sdk/cli/test/test_arv-keep-get.rb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

       via  5aca412951f88d5114b577782e502a3457205d4c (commit)
      from  3e068db7568de699f057e4e1ae2ea8c9a32b88a2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 5aca412951f88d5114b577782e502a3457205d4c
Author: Nico Cesar <nico at nicocesar.com>
Date:   Tue Sep 8 15:49:42 2020 -0400

    py3 argparse differs from py2 for action='version'
    
    refs #15888
    
    Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>

diff --git a/sdk/cli/test/test_arv-keep-get.rb b/sdk/cli/test/test_arv-keep-get.rb
index f92e51b29..41e997b2b 100644
--- a/sdk/cli/test/test_arv-keep-get.rb
+++ b/sdk/cli/test/test_arv-keep-get.rb
@@ -28,8 +28,10 @@ class TestArvKeepGet < Minitest::Test
     out, err = capture_subprocess_io do
       assert_arv_get '--version'
     end
-    assert_empty(out, "STDOUT not expected: '#{out}'")
-    assert_match(/[0-9]+\.[0-9]+\.[0-9]+/, err, "Version information incorrect: '#{err}'")
+    # python3 handles action='version' differently than python2
+    # https://dev.arvados.org/issues/15888#note-23
+    assert_empty(err, "STDERR not expected: '#{err}'")
+    assert_match(/[0-9]+\.[0-9]+\.[0-9]+/, out, "Version information incorrect: '#{out}'")
   end
 
   def test_help

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list