def test_set_timeout(self): # type: () -> None """Test timeout function.""" pyads.open_port() self.assertIsNone(pyads.set_timeout(100)) pyads.open_port()