From commits-return-6484-archive-asf-public=cust-asf.ponee.io@kudu.apache.org Tue Oct 9 02:36:35 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 94BA918067A for ; Tue, 9 Oct 2018 02:36:34 +0200 (CEST) Received: (qmail 19461 invoked by uid 500); 9 Oct 2018 00:36:33 -0000 Mailing-List: contact commits-help@kudu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.apache.org Delivered-To: mailing list commits@kudu.apache.org Received: (qmail 19452 invoked by uid 99); 9 Oct 2018 00:36:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2018 00:36:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 22CF5DFF66; Tue, 9 Oct 2018 00:36:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: awong@apache.org To: commits@kudu.apache.org Date: Tue, 09 Oct 2018 00:36:34 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] kudu git commit: KUDU-2598 skip test_scanner_to_pandas_index appropriately KUDU-2598 skip test_scanner_to_pandas_index appropriately We should skip the test if either pandas is not available or if decimal is not available. Change-Id: Ie9e3f0c2f6884bd5388c9b918703e5b4b2e543d7 Reviewed-on: http://gerrit.cloudera.org:8080/11620 Reviewed-by: Hao Hao Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/4de4347a Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/4de4347a Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/4de4347a Branch: refs/heads/master Commit: 4de4347a3fd28a8bad3d481fdfa90acecd584520 Parents: 0d4740b Author: Andrew Wong Authored: Mon Oct 8 16:30:38 2018 -0700 Committer: Andrew Wong Committed: Tue Oct 9 00:35:30 2018 +0000 ---------------------------------------------------------------------- python/kudu/tests/test_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/4de4347a/python/kudu/tests/test_scanner.py ---------------------------------------------------------------------- diff --git a/python/kudu/tests/test_scanner.py b/python/kudu/tests/test_scanner.py index 3c7fe57..4bedf96 100644 --- a/python/kudu/tests/test_scanner.py +++ b/python/kudu/tests/test_scanner.py @@ -382,7 +382,7 @@ class TestScanner(TestScanBase): self.assertEqual(df.index.name, 'key') self.assertEqual(list(df.index), [1, 2]) - @pytest.mark.skipif((not(kudu.CLIENT_SUPPORTS_PANDAS) and + @pytest.mark.skipif((not(kudu.CLIENT_SUPPORTS_PANDAS) or (not(kudu.CLIENT_SUPPORTS_DECIMAL))), reason="Pandas and Decimal support required to run this test.") def test_scanner_to_pandas_index(self):