From 46808afce2b2cef9421957c07d58a68fd09d0b3e Mon Sep 17 00:00:00 2001 From: Jiangxinz Date: Sat, 7 Aug 2021 11:20:54 +0800 Subject: [PATCH] fix no value for parameter (#34091) --- python/paddle/tests/test_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/tests/test_model.py b/python/paddle/tests/test_model.py index abeb8339175..f90ff0c99af 100644 --- a/python/paddle/tests/test_model.py +++ b/python/paddle/tests/test_model.py @@ -169,7 +169,7 @@ class TestModel(unittest.TestCase): @classmethod def setUpClass(cls): if not fluid.is_compiled_with_cuda(): - cls.skipTest('module not tested when ONLY_CPU compling') + cls().skipTest('module not tested when ONLY_CPU compling') cls.device = paddle.set_device('gpu') fluid.enable_dygraph(cls.device) -- GitLab