Sign in
◑
Theme
android-kvm
/
buildroot
/
8be4ea1bb3ab599d6f8ad4ff3da2e8659ee656bb
/
.
/
support
/
testing
/
tests
/
package
/
sample_python_pyudev.py
blob: 8e4ae32511ec8d91d451e96867da7e21c2c01f06 [
file
]
import
pyudev
context
=
pyudev
.
Context
()
assert
(
'/dev/ttyAMA0'
in
[
d
.
device_node
for
d
in
context
.
list_devices
()
])