ev3dev / ev3dev-lang-fake-sys

Test ev3dev-lang bindings with fake /sys/class tree
5 stars 6 forks source link

Support micropython #13

Closed WasabiFan closed 6 years ago

WasabiFan commented 6 years ago

For https://github.com/ev3dev/ev3dev-lang-python/pull/514, I wanted to be able to run our ev3dev-lang-python unit tests in Micropython. Because we directly invoke the fake-sys module via importing it, it needs to support the Micropython interpreter too... so this is my take on that. None of it feels "right" because this isn't really what Micropython is designed to do.

WasabiFan commented 6 years ago

@ddemidov Are there any changes you'd suggest here? Once the fake-sys repo supports micropython I plan to merge https://github.com/ev3dev/ev3dev-lang-python/pull/514. The other items in that to-do list I can move to issues for later.