From 6abcb74c8f8918a52c7016cb4cc924635f6f3539 Mon Sep 17 00:00:00 2001 From: chengduoZH Date: Sat, 30 Sep 2017 10:49:02 +0800 Subject: [PATCH] fix unit test class name --- python/paddle/v2/framework/tests/test_pool2d_op.py | 4 ++-- python/paddle/v2/framework/tests/test_pool3d_op.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python/paddle/v2/framework/tests/test_pool2d_op.py b/python/paddle/v2/framework/tests/test_pool2d_op.py index 0f9a548f29..2941fda81b 100644 --- a/python/paddle/v2/framework/tests/test_pool2d_op.py +++ b/python/paddle/v2/framework/tests/test_pool2d_op.py @@ -116,7 +116,7 @@ class TestCase3(TestPool2d_Op): self.paddings = [0, 0] -class TestCase3(TestPool2d_Op): +class TestCase4(TestPool2d_Op): def initTestCase(self): self.global_pool = False self.op_type = "pool2d" @@ -128,7 +128,7 @@ class TestCase3(TestPool2d_Op): self.paddings = [0, 0] -class TestCase3(TestPool2d_Op): +class TestCase5(TestPool2d_Op): def initTestCase(self): self.global_pool = False self.op_type = "pool2d" diff --git a/python/paddle/v2/framework/tests/test_pool3d_op.py b/python/paddle/v2/framework/tests/test_pool3d_op.py index f041ff9178..8792b492e3 100644 --- a/python/paddle/v2/framework/tests/test_pool3d_op.py +++ b/python/paddle/v2/framework/tests/test_pool3d_op.py @@ -124,7 +124,7 @@ class TestCase3(TestPool3d_Op): self.paddings = [0, 0, 0] -class TestCase3(TestPool3d_Op): +class TestCase4(TestPool3d_Op): def initTestCase(self): self.global_pool = False self.op_type = "pool3d" @@ -136,7 +136,7 @@ class TestCase3(TestPool3d_Op): self.paddings = [0, 0, 0] -class TestCase3(TestPool3d_Op): +class TestCase5(TestPool3d_Op): def initTestCase(self): self.global_pool = False self.op_type = "pool3d" -- GitLab