未验证 提交 c9d6f633 编写于 作者: C Chen Weihang 提交者: GitHub

Remove useless warning in executor #25692

上级 1917b380
...@@ -1079,9 +1079,6 @@ class Executor(object): ...@@ -1079,9 +1079,6 @@ class Executor(object):
use_prune=use_prune, use_prune=use_prune,
return_merged=return_merged) return_merged=return_merged)
except Exception as e: except Exception as e:
if not isinstance(e, core.EOFException):
warnings.warn(
"The following exception is not an EOF exception.")
six.reraise(*sys.exc_info()) six.reraise(*sys.exc_info())
def _run_impl(self, program, feed, fetch_list, feed_var_name, def _run_impl(self, program, feed, fetch_list, feed_var_name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册