From 691c96d1cd2eda4587ca6dbf59237ec0e7a91dec Mon Sep 17 00:00:00 2001 From: Tobias Schmidt <tobias.schmidt@unibas.ch> Date: Thu, 2 Feb 2012 14:44:20 +0100 Subject: [PATCH] remove table class unittests that are not platform independent --- modules/base/tests/test_table.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/base/tests/test_table.py b/modules/base/tests/test_table.py index 270780a16..88a799dee 100644 --- a/modules/base/tests/test_table.py +++ b/modules/base/tests/test_table.py @@ -1041,8 +1041,8 @@ class TestTable(unittest.TestCase): class_dir='-', save=os.path.join("testfiles","enrichment-out.png")) img1 = Image.open(os.path.join("testfiles","enrichment-out.png")) - img2 = Image.open(os.path.join("testfiles","enrichment.png")) - self.CompareImages(img1, img2) + #img2 = Image.open(os.path.join("testfiles","enrichment.png")) + #self.CompareImages(img1, img2) #pl.show() def testCalcEnrichmentAUC(self): @@ -1070,8 +1070,8 @@ class TestTable(unittest.TestCase): class_col='classific', save=os.path.join("testfiles","roc-out.png")) img1 = Image.open(os.path.join("testfiles","roc-out.png")) - img2 = Image.open(os.path.join("testfiles","roc.png")) - self.CompareImages(img1, img2) + #img2 = Image.open(os.path.join("testfiles","roc.png")) + #self.CompareImages(img1, img2) # no true positives tab = Table(['classific', 'score'], 'bf', @@ -1092,8 +1092,8 @@ class TestTable(unittest.TestCase): class_col='classific', save=os.path.join("testfiles","roc-same-val-out.png")) img1 = Image.open(os.path.join("testfiles","roc-same-val-out.png")) - img2 = Image.open(os.path.join("testfiles","roc-same-val.png")) - self.CompareImages(img1, img2) + #img2 = Image.open(os.path.join("testfiles","roc-same-val.png")) + #self.CompareImages(img1, img2) #pl.show() def testCalcROCAUC(self): -- GitLab