[ARVADOS] updated: 4492163a816c0918ff53623da242dd446ae4069f
Git user
git at public.curoverse.com
Tue Jul 11 16:43:57 EDT 2017
Summary of changes:
sdk/python/tests/test_arv_ls.py | 3 +++
1 file changed, 3 insertions(+)
via 4492163a816c0918ff53623da242dd446ae4069f (commit)
from 5fc3cc690c73d8c0dd6087e3389c8ebaf3099db1 (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 4492163a816c0918ff53623da242dd446ae4069f
Author: Tom Clegg <tom at curoverse.com>
Date: Tue Jul 11 16:42:45 2017 -0400
11944: Turn off warnings while testing command line tool stderr.
refs #11944
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curoverse.com>
diff --git a/sdk/python/tests/test_arv_ls.py b/sdk/python/tests/test_arv_ls.py
index 491fa86..635c625 100644
--- a/sdk/python/tests/test_arv_ls.py
+++ b/sdk/python/tests/test_arv_ls.py
@@ -89,6 +89,9 @@ class ArvLsTestCase(run_test_server.TestCaseWithServers, tutil.VersionChecker):
self.assertEqual(1, error_mock.call_count)
def test_version_argument(self):
+ if sys.version_info >= (3, 0):
+ import warnings
+ warnings.simplefilter("ignore")
with redirected_streams(stdout=StringIO, stderr=StringIO) as (out, err):
with self.assertRaises(SystemExit):
self.run_ls(['--version'], None)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list