
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
43,838 Listeners

623 Listeners

327 Listeners

585 Listeners

215 Listeners

8,035 Listeners

142 Listeners

2,308 Listeners

3 Listeners