提交 15d348ad authored 作者: DeathMonster666's avatar DeathMonster666

Update test_dictionary_output.py

Removed tuple of str keys, which gets rid of comparison error thrown in Python3.3
上级 aa3b48c2
......@@ -157,7 +157,7 @@ class dictionary_output_checker(unittest.TestCase):
pass
try:
theano.function([x], outputs={("a", "b"): x, 1.0: x**2})
theano.function([x], outputs={(1, 2): x, 1.0: x**2})
raise Exception("Did not throw exception with tuple as key")
except AssertionError:
pass
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论