Sign in
◑
Theme
android-kvm
/
buildroot
/
ffe8a5ff4dc7c0e77bc4c25cfe167755b993f9ea
/
.
/
support
/
testing
/
tests
/
package
/
sample_python_rpi_gpio.py
blob: e0bd96f631e74977fe0ac576b747cb88ea8b74da [
file
]
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!'
)