Skip to content

Commit

Permalink
Update test_pm25.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw authored Jan 12, 2025
1 parent 651de34 commit 3bb9c39
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_pm25.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@

from breakoutgardenexporter import PM25Sensor, Metrics

import board # type: ignore


print(board)
try:
import board # type: ignore
except NotImplementedError:
pass
else:
if not hasattr(board, "SCL"):
board.SCL = 0

SAMPLE_DATA = {'pm10 standard': 2,
'pm25 standard': 3,
Expand Down

0 comments on commit 3bb9c39

Please sign in to comment.