Return-Path: X-Original-To: apmail-climate-commits-archive@minotaur.apache.org Delivered-To: apmail-climate-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12D5811C11 for ; Wed, 2 Jul 2014 16:28:54 +0000 (UTC) Received: (qmail 50194 invoked by uid 500); 2 Jul 2014 16:28:54 -0000 Delivered-To: apmail-climate-commits-archive@climate.apache.org Received: (qmail 50107 invoked by uid 500); 2 Jul 2014 16:28:53 -0000 Mailing-List: contact commits-help@climate.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@climate.apache.org Delivered-To: mailing list commits@climate.apache.org Received: (qmail 50089 invoked by uid 99); 2 Jul 2014 16:28:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 16:28:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9A7F7993E59; Wed, 2 Jul 2014 16:28:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: joyce@apache.org To: commits@climate.apache.org Date: Wed, 02 Jul 2014 16:28:54 -0000 Message-Id: <52e1b6301069423bb073dc29baa6376f@git.apache.org> In-Reply-To: <77ed3c99266048a3b376e124a6a32e7b@git.apache.org> References: <77ed3c99266048a3b376e124a6a32e7b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/3] git commit: CLIMATE-483 - Update PatternCorrelation tests CLIMATE-483 - Update PatternCorrelation tests Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/c8ab8c24 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/c8ab8c24 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/c8ab8c24 Branch: refs/heads/master Commit: c8ab8c24a04de0ed057b6efd65f3dded9b482322 Parents: 4a5f381 Author: Michael Joyce Authored: Wed Jul 2 09:16:45 2014 -0700 Committer: Michael Joyce Committed: Wed Jul 2 09:18:25 2014 -0700 ---------------------------------------------------------------------- ocw/tests/test_metrics.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/c8ab8c24/ocw/tests/test_metrics.py ---------------------------------------------------------------------- diff --git a/ocw/tests/test_metrics.py b/ocw/tests/test_metrics.py index 2502070..ae8570a 100644 --- a/ocw/tests/test_metrics.py +++ b/ocw/tests/test_metrics.py @@ -128,9 +128,8 @@ class TestPatternCorrelation(unittest.TestCase): ) def test_function_run(self): - pattern, p_value = self.pattern_correlation.run(self.ref_dataset, self.tar_dataset) + pattern = self.pattern_correlation.run(self.tar_dataset, self.ref_dataset) self.assertEqual(pattern, 1.0) - self.assertEqual(p_value, 0.0) class TestMeanBias(unittest.TestCase):