2 Tests which require an embedded platform (with actual hardware bindings)
3 but which are not architecture-specific.
9 if agnostic.board == "feather_m0_express":
12 raise NameError("No LED for {}".format(agnostic.platform))
14 class TestDigitalInOut(unittest.TestCase):
17 def test_context_manager(self):
18 """Deinitialisation is triggered by __exit__()"""
20 self.assertIsNotNone(dio._pin)
23 self.assertIsNone(dio._pin)