
Sign up to save your podcasts
Or
Have you ever written a single file Python application or script?
Have you written tests for it?
Do you check code coverage?
This is the topic of this weeks episode, spurred on by a listener question.
The questions:
The example code discussed in the episode: script.py
def foo():Suggestion by @cfbolz if you need to import pytest:
if __name__ == '__main__': # pragma: no coverHelp support the show AND learn pytest:
4.7
7070 ratings
Have you ever written a single file Python application or script?
Have you written tests for it?
Do you check code coverage?
This is the topic of this weeks episode, spurred on by a listener question.
The questions:
The example code discussed in the episode: script.py
def foo():Suggestion by @cfbolz if you need to import pytest:
if __name__ == '__main__': # pragma: no coverHelp support the show AND learn pytest:
272 Listeners
283 Listeners
41 Listeners
482 Listeners
592 Listeners
624 Listeners
269 Listeners
213 Listeners
142 Listeners
982 Listeners
189 Listeners
64 Listeners
140 Listeners
47 Listeners
52 Listeners