DateParserDisplayTest.py is a debug tool but runs always, only run when debug
svn: r12156
This commit is contained in:
parent
e8350eaa88
commit
7b809aefda
@ -229,8 +229,9 @@ class DateParserDisplayTest(Tool.Tool):
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
pmgr = PluginManager.get_instance()
|
if __debug__:
|
||||||
pmgr.register_tool(
|
pmgr = PluginManager.get_instance()
|
||||||
|
pmgr.register_tool(
|
||||||
name = 'test_for_date_parser_and_displayer',
|
name = 'test_for_date_parser_and_displayer',
|
||||||
category = Tool.TOOL_DEBUG,
|
category = Tool.TOOL_DEBUG,
|
||||||
tool_class = DateParserDisplayTest,
|
tool_class = DateParserDisplayTest,
|
||||||
|
Loading…
Reference in New Issue
Block a user