Пример #1
0
 def test_set_timeout(self):
     # type: () -> None
     """Test timeout function."""
     pyads.open_port()
     self.assertIsNone(pyads.set_timeout(100))
     pyads.open_port()
Пример #2
0
 def test_set_timeout(self):
     # type: () -> None
     """Test timeout function."""
     pyads.open_port()
     self.assertIsNone(pyads.set_timeout(100))
     pyads.open_port()