From b6a7d8de24e6709fca3536bbe0927dfbcd6113d4 Mon Sep 17 00:00:00 2001 From: Xuan Choo Date: Thu, 23 Nov 2023 11:20:11 -0500 Subject: [PATCH] Fix flake8 error --- nengo_fpga/tests/test_networks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nengo_fpga/tests/test_networks.py b/nengo_fpga/tests/test_networks.py index c213a19b..145531ee 100644 --- a/nengo_fpga/tests/test_networks.py +++ b/nengo_fpga/tests/test_networks.py @@ -164,7 +164,7 @@ def test_init_default(config_contents, gen_configs, mocker): assert dummy_net.connection.pre == dummy_net.ensemble assert dummy_net.connection.post == dummy_net.output assert dummy_net.connection.function is None - assert type(dummy_net.connection.transform) == nengo.transforms.NoTransform + assert isinstance(dummy_net.connection.transform, nengo.transforms.NoTransform) assert np.all( dummy_net.connection.eval_points == nengo.Connection.eval_points.default )