From 244c343b66fe7d5f2ee2744ebe32d6e72748e4ff Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Tue, 1 Aug 2017 15:18:22 -0700 Subject: [PATCH] Fix a test error --- python/paddle/v2/framework/tests/test_fill_zeros_like_op.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/paddle/v2/framework/tests/test_fill_zeros_like_op.py b/python/paddle/v2/framework/tests/test_fill_zeros_like_op.py index 772edf895c5..69d89f537d6 100644 --- a/python/paddle/v2/framework/tests/test_fill_zeros_like_op.py +++ b/python/paddle/v2/framework/tests/test_fill_zeros_like_op.py @@ -1,13 +1,12 @@ import unittest import paddle.v2.framework.create_op_creation_methods as creation import paddle.v2.framework.core as core -from op_test_util import OpTestMeta import numpy class TestFillZerosLikeOp(unittest.TestCase): def test_fill(self): - scope = core.Scope(None) + scope = core.Scope() a = scope.create_var("input") a_tensor = a.get_tensor() a_tensor.set_dims([546, 291]) -- GitLab