Skip to content

Commit b63d476

Browse files
author
Federico Bregant
committed
refactor: using black
1 parent 7b9f379 commit b63d476

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

test/test_util.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,17 @@ def test_timing_can_use_int(self):
6767
_create_bus_config({**self.base_config, **timing_conf})
6868
except TypeError as e:
6969
self.fail(e)
70-
self.assertRaises(ValueError, _create_bus_config, {**self.port_alpha_config, **timing_conf})
71-
self.assertRaises(ValueError, _create_bus_config, {**self.port_to_high_config, **timing_conf})
72-
self.assertRaises(TypeError, _create_bus_config, {**self.port_wrong_type_config, **timing_conf})
70+
self.assertRaises(
71+
ValueError, _create_bus_config, {**self.port_alpha_config, **timing_conf}
72+
)
73+
self.assertRaises(
74+
ValueError, _create_bus_config, {**self.port_to_high_config, **timing_conf}
75+
)
76+
self.assertRaises(
77+
TypeError,
78+
_create_bus_config,
79+
{**self.port_wrong_type_config, **timing_conf},
80+
)
7381

7482

7583
class TestChannel2Int(unittest.TestCase):

0 commit comments

Comments
 (0)