Sign in
android-kvm
/
buildroot
/
192829cf0dc1230e5b21d3629d3e1e371b9467a1
/
.
/
support
/
testing
/
tests
/
package
/
sample_python_rpi_gpio.py
blob: 5f0d884e07390067f5eeaba70b62d93dd246284f [
file
] [
log
] [
blame
]
try
:
import
RPi
.
GPIO
# noqa
except
RuntimeError
as
e
:
assert
(
str
(
e
)
==
'This module can only be run on a Raspberry Pi!'
)
else
:
raise
RuntimeError
(
'Import succeeded when it should not have!'
)