Skip to content

Commit 8be488e

Browse files
committed
revert version bump (it's now in #940) and format repository
1 parent 4a4f4a7 commit 8be488e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

requirements-lint.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pylint==2.6.0
2-
black==20.8b1
3-
mypy==0.790
4-
mypy-extensions==0.4.3
1+
pylint==2.3.1
2+
black==19.3b0
3+
mypy==0.740
4+
mypy-extensions==0.4.1

test/test_vector.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ def test_bus_creation_bitrate(self) -> None:
100100

101101
can.interfaces.vector.canlib.xldriver.xlCanFdSetConfiguration.assert_not_called()
102102
can.interfaces.vector.canlib.xldriver.xlCanSetChannelBitrate.assert_called()
103-
xlCanSetChannelBitrate_args = (
104-
can.interfaces.vector.canlib.xldriver.xlCanSetChannelBitrate.call_args[0]
105-
)
103+
xlCanSetChannelBitrate_args = can.interfaces.vector.canlib.xldriver.xlCanSetChannelBitrate.call_args[
104+
0
105+
]
106106
self.assertEqual(xlCanSetChannelBitrate_args[2], 200000)
107107

108108
def test_bus_creation_fd(self) -> None:
@@ -152,9 +152,9 @@ def test_bus_creation_fd_bitrate_timings(self) -> None:
152152
can.interfaces.vector.canlib.xldriver.xlCanFdSetConfiguration.assert_called()
153153
can.interfaces.vector.canlib.xldriver.xlCanSetChannelBitrate.assert_not_called()
154154

155-
xlCanFdSetConfiguration_args = (
156-
can.interfaces.vector.canlib.xldriver.xlCanFdSetConfiguration.call_args[0]
157-
)
155+
xlCanFdSetConfiguration_args = can.interfaces.vector.canlib.xldriver.xlCanFdSetConfiguration.call_args[
156+
0
157+
]
158158
canFdConf = xlCanFdSetConfiguration_args[2]
159159
self.assertEqual(canFdConf.arbitrationBitRate, 500000)
160160
self.assertEqual(canFdConf.dataBitRate, 2000000)

0 commit comments

Comments
 (0)