]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - python/testing/implementation/micropython/digitalio.py
Untested draft I2C
[Adafruit_Blinka-hackapet.git] / python / testing / implementation / micropython / digitalio.py
index 74bccce9f5920e9e56f66dddd0c3d7e7f262cd40..05f7e42b3c42ae0ef5bb3fc1fcb6f21528d253ff 100644 (file)
@@ -10,7 +10,7 @@ class TestDigitalInOut(unittest.TestCase):
 
 
     def test_context_manager(self):
 
 
     def test_context_manager(self):
-        """Deinitialisation is triggered by __exit__()"""
+        """Deinitialisation is triggered by __exit__() and should dispose machine.pin reference"""
         dio = digitalio.DigitalInOut(default_pin)
         self.assertIsNotNone(dio._pin)
         with dio:
         dio = digitalio.DigitalInOut(default_pin)
         self.assertIsNotNone(dio._pin)
         with dio: