MCPcopy Index your code
hub / github.com/python-telegram-bot/python-telegram-bot / poll_option

Function poll_option

tests/test_poll.py:259–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257
258@pytest.fixture(scope="module")
259def poll_option():
260 out = PollOption(
261 text=PollOptionTestBase.text,
262 voter_count=PollOptionTestBase.voter_count,
263 text_entities=PollOptionTestBase.text_entities,
264 added_by_user=PollOptionTestBase.added_by_user,
265 added_by_chat=PollOptionTestBase.added_by_chat,
266 addition_date=PollOptionTestBase.addition_date,
267 persistent_id=PollOptionTestBase.persistent_id,
268 media=PollOptionTestBase.media,
269 )
270 out._unfreeze()
271 return out
272
273
274class PollOptionTestBase:

Callers

nothing calls this directly

Calls 2

PollOptionClass · 0.90
_unfreezeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…