提交 ed1c6240 authored 作者: Rebecca N. Palmer's avatar Rebecca N. Palmer

flake8 code style fixes

上级 31f86c5c
...@@ -288,9 +288,10 @@ class TestComputeTestValue(unittest.TestCase): ...@@ -288,9 +288,10 @@ class TestComputeTestValue(unittest.TestCase):
frame_infos = traceback.extract_tb(tb) frame_infos = traceback.extract_tb(tb)
# We should be in the "fx" function defined above # We should be in the "fx" function defined above
expected = 'test_compute_test_value.py' expected = 'test_compute_test_value.py'
assert any((os.path.split(frame_info[0])[1] == expected assert any((os.path.split(
and frame_info[2] == 'fx') for frame_info frame_info[0])[1] == expected and
in frame_infos), frame_infos frame_info[2] == 'fx') for frame_info in
frame_infos), frame_infos
finally: finally:
theano.config.compute_test_value = orig_compute_test_value theano.config.compute_test_value = orig_compute_test_value
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论