
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 cover
By Brian Okken4.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 cover
44,008 Listeners

624 Listeners

328 Listeners

588 Listeners

214 Listeners

8,002 Listeners

141 Listeners

2,283 Listeners

3 Listeners