From eb76ac46193b095d95a832c7b28901b8a9e7fa44 Mon Sep 17 00:00:00 2001 From: jackeyGao Date: Tue, 7 Aug 2018 11:59:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=89=93=E5=8D=B0=E5=85=B7?= =?UTF-8?q?=E4=BD=93=E6=8A=A5=E9=94=99=E8=AF=A6=E6=83=85,=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=8F=8A=E5=86=85=E5=AE=B9=E8=A1=8C=E6=95=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_poetry.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_poetry.py b/test_poetry.py index 10aadc1d..4a99b108 100644 --- a/test_poetry.py +++ b/test_poetry.py @@ -1,5 +1,5 @@ #! -*- coding: utf-8 -*- -import os, json, sqlite3 +import os, json, sqlite3, sys, traceback def check_json(f, _dir): if not f.endswith('.json'): @@ -11,6 +11,7 @@ def check_json(f, _dir): _ = json.loads(file.read()) return True except: + sys.stderr.write(traceback.format_exc()) assert False, u"校验(%s)失败" % f