提交 50992670 authored 作者: Frederic Bastien's avatar Frederic Bastien

Some fix from the previous PR

上级 a62465ba
......@@ -366,6 +366,8 @@ def pfunc(params, outputs=None, mode=None, updates=None, givens=None,
if profile is None:
profile = config.profile
# profile -> True or False
if profile is False:
profile = None
if profile is True:
profile = ProfileStats(message=name)
# profile -> object
......
......@@ -43,7 +43,7 @@ class T_bunch_of_modes(unittest.TestCase):
# - WrapLinker
# - PerformLinker (FAST_COMPILE)
# - DebugMode's Linker (DEBUG_MODE)
assert 5 == len(set(linker_classes_involved))
assert 4 == len(set(linker_classes_involved))
class T_WrapLinker(unittest.TestCase):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论