Source

pylibftdi / tests / test_bitbang.py

Diff from to

tests/test_bitbang.py

             self.assertEqual(dev._direction, dir_test)
             self.assertEqual(dev._last_set_dir, dir_test)
         # check an invalid direction on open gives error
+
         def _():  # NOQA
             dev.direction = 300
         self.assertRaises(FtdiError, _)