示例#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
文件: test_ads.py 项目: MrLeeh/pyads
 def test_set_timeout(self):
     # type: () -> None
     """Test timeout function."""
     pyads.open_port()
     self.assertIsNone(pyads.set_timeout(100))
     pyads.open_port()