Skip to content

Commit 8b1c76a

Browse files
committed
comment LOG(info) in createPythonClass
* it makes unit test failed.
1 parent 536bf7d commit 8b1c76a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/utils/PythonUtil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ PyObjectPtr createPythonClass(
144144
const std::map<std::string, std::string>& kwargs) {
145145
PyGuard guard;
146146
PyObjectPtr pyModule(PyImport_ImportModule(moduleName.c_str()));
147-
LOG(INFO) << "createPythonClass moduleName.c_str:" << moduleName.c_str();
147+
// LOG(INFO) << "createPythonClass moduleName.c_str:" << moduleName.c_str();
148148
CHECK_PY(pyModule) << "Import module " << moduleName << " failed.";
149149
PyObjectPtr pyDict(PyModule_GetDict(pyModule.get()));
150150
CHECK_PY(pyDict) << "Get Dict failed.";
151151
PyObjectPtr pyClass(PyDict_GetItemString(pyDict.get(), className.c_str()));
152-
LOG(INFO) << "createPythonClass className.c_str():" << className.c_str();
152+
// LOG(INFO) << "createPythonClass className.c_str():" << className.c_str();
153153
CHECK_PY(pyClass) << "Import class " << className << " failed.";
154154
PyObjectPtr argsObjectList(PyTuple_New(args.size()));
155155
for (size_t i = 0; i < args.size(); ++i) {

0 commit comments

Comments
 (0)