File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ def test_scan_does_not_force_backend(mock_find):
2121
2222 mock_find .assert_called_once ()
2323 call_kwargs = mock_find .call_args [1 ]
24- assert "backend" not in call_kwargs , (
25- "backend should not be specified so pyusb can auto-detect"
26- )
24+ assert (
25+ "backend" not in call_kwargs
26+ ), "backend should not be specified so pyusb can auto-detect"
2727 assert call_kwargs ["find_all" ] is True
2828
2929
@@ -37,9 +37,9 @@ def test_find_does_not_force_backend(mock_find):
3737
3838 mock_find .assert_called_once ()
3939 call_kwargs = mock_find .call_args [1 ]
40- assert "backend" not in call_kwargs , (
41- "backend should not be specified so pyusb can auto-detect"
42- )
40+ assert (
41+ "backend" not in call_kwargs
42+ ), "backend should not be specified so pyusb can auto-detect"
4343 assert call_kwargs ["bus" ] == 1
4444 assert call_kwargs ["address" ] == 2
4545
You can’t perform that action at this time.
0 commit comments