Skip to content

Commit

Permalink
Correct comment about mock defaulting to Pi 2B (it's 3B)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennuttall committed Sep 22, 2019
1 parent a50be86 commit 8a84a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_device_reopen_same_pin(mock_factory):
assert device.pin is None

def test_device_pin_parsing(mock_factory):
# MockFactory defaults to a Pi 2B layout
# MockFactory defaults to a Pi 3B layout
pin = mock_factory.pin(2)
with GPIODevice('GPIO2') as device:
assert device.pin is pin
Expand Down

0 comments on commit 8a84a74

Please sign in to comment.