From 291f7f8ce5d9b1a7b4d0d4840bee946d9a6d64c5 Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Mon, 28 May 2018 16:37:53 +0800 Subject: [PATCH] fix a error --- python/paddle/fluid/tests/unittests/op_test.py | 2 -- tools/codestyle/docstring_checker.pyc | Bin 0 -> 11769 bytes 2 files changed, 2 deletions(-) create mode 100644 tools/codestyle/docstring_checker.pyc diff --git a/python/paddle/fluid/tests/unittests/op_test.py b/python/paddle/fluid/tests/unittests/op_test.py index b7e62533b33..b611470fa1f 100644 --- a/python/paddle/fluid/tests/unittests/op_test.py +++ b/python/paddle/fluid/tests/unittests/op_test.py @@ -336,8 +336,6 @@ class OpTest(unittest.TestCase): actual_t = np.array(actual) expect = self.outputs[out_name] expect_t = expect[0] if isinstance(expect, tuple) else expect - import pdb - pdb.set_trace() self.assertTrue( np.allclose( actual_t, expect_t, atol=atol), diff --git a/tools/codestyle/docstring_checker.pyc b/tools/codestyle/docstring_checker.pyc new file mode 100644 index 0000000000000000000000000000000000000000..49f07e8e6c0b4d4c7a253c2763e5fb5e7c8c668c GIT binary patch literal 11769 zcmdT~Npl;=7488*kbt;or54N9SSu6>B(->BXxWq~%SvoYHISncEfx%6hUAa~3^+Zo zNn5H^N~tWz+>(Egs#N8a%FUHSeDg8+0m(6^98x(YuH^e(4+bDbJ5t${9Fo)Qe!ahb zdw2F9L&eokcf4O$$xjyl-^8bXg~U~A4ymQwj0!9@hm6T*)LcgLSrueeBd6was?n$B z`jo{MIThqpqhHPSn{uBD22`V<<_e~a(TZxWsNB5zF{ap|+sfwcXa9YsaBoC&+HC$4g<;cEh@D zTAtF#tOwqh{~!F!mNFP7=75)L+DnFs`%rGjexOSht4EMrpGN=CcatWjg8f`?q1Fy! z*RRKQw&q7XUcsmLBe}2CG6u1jd1&#EXsXD}dN&$4-lDH#tX`JvMS3h*)=pGLNo6&u zj0xPlZ?l>_Y68EBkxIxZN%T$R#^2Kzb^Kn1Wn_>oIzY?0b@Yv00!+W>=5#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