未验证 提交 46808afc 编写于 作者: J Jiangxinz 提交者: GitHub

fix no value for parameter (#34091)

上级 52e38a00
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册