Media Summary: today I talk about `ExitStack` and a few uses of it: today I talk about how to test exceptions in today I talk about python doctests, how you can write and run them (including with

What Is Nullcontext Conditional Contexts Pytest Intermediate Anthony Explains 464 - Detailed Analysis & Overview

today I talk about `ExitStack` and a few uses of it: today I talk about how to test exceptions in today I talk about python doctests, how you can write and run them (including with today I talk about all the different types of statuses that a today I talk about how .contextmanager works - with + today I show how I debugged a stackoverflow question about signaling a MagicMock (as well as how to fix it!) - making your own ...

today I show how even if you don't know the operator precedence you can figure out how this evaluates! playlist: ... today I talk about how to test a function which is decorated with `lru_cache` with today I talk about `coverage` -- a useful tool to help you figure out whether your code is actually tested! playlist: ... today I go over all the options and use cases for fixtures in

Photo Gallery

what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464
python: conditional context and ExitStack (intermediate) anthony explains #189
pytest: testing exceptions (beginner - intermediate) anthony explains #176
what are python doctests? (beginner - intermediate) anthony explains #300
pytest: xfail vs xpass and all test statuses (beginner - intermediate) anthony explains #260
why pytest.mark.usefixtures? (intermediate) anthony explains #098
how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140
getting started with pytest (beginner - intermediate) anthony explains #518
why can't I signal a MagicMock() ? (intermediate) anthony explains #469
why does python think -1**0 is -1 ? (intermediate) anthony explains #470
testing functools.lru_cache with pytest! (beginner - intermediate) anthony explains #094
what is coverage? (intermediate) anthony explains #480
Sponsored
View Detailed Profile
what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464

what is nullcontext? (conditional contexts, pytest) (intermediate) anthony explains #464

today I show off `

python: conditional context and ExitStack (intermediate) anthony explains #189

python: conditional context and ExitStack (intermediate) anthony explains #189

today I talk about `ExitStack` and a few uses of it:

pytest: testing exceptions (beginner - intermediate) anthony explains #176

pytest: testing exceptions (beginner - intermediate) anthony explains #176

today I talk about how to test exceptions in

what are python doctests? (beginner - intermediate) anthony explains #300

what are python doctests? (beginner - intermediate) anthony explains #300

today I talk about python doctests, how you can write and run them (including with

pytest: xfail vs xpass and all test statuses (beginner - intermediate) anthony explains #260

pytest: xfail vs xpass and all test statuses (beginner - intermediate) anthony explains #260

today I talk about all the different types of statuses that a

Sponsored
why pytest.mark.usefixtures? (intermediate) anthony explains #098

why pytest.mark.usefixtures? (intermediate) anthony explains #098

today I talk about why I used @

how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140

how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140

today I talk about how @contextlib.contextmanager works - with +

getting started with pytest (beginner - intermediate) anthony explains #518

getting started with pytest (beginner - intermediate) anthony explains #518

I realize I've talked a lot about

why can't I signal a MagicMock() ? (intermediate) anthony explains #469

why can't I signal a MagicMock() ? (intermediate) anthony explains #469

today I show how I debugged a stackoverflow question about signaling a MagicMock (as well as how to fix it!) - making your own ...

why does python think -1**0 is -1 ? (intermediate) anthony explains #470

why does python think -1**0 is -1 ? (intermediate) anthony explains #470

today I show how even if you don't know the operator precedence you can figure out how this evaluates! playlist: ...

testing functools.lru_cache with pytest! (beginner - intermediate) anthony explains #094

testing functools.lru_cache with pytest! (beginner - intermediate) anthony explains #094

today I talk about how to test a function which is decorated with `lru_cache` with

what is coverage? (intermediate) anthony explains #480

what is coverage? (intermediate) anthony explains #480

today I talk about `coverage` -- a useful tool to help you figure out whether your code is actually tested! playlist: ...

pytest: everything you need to know about fixtures (intermediate) anthony explains #487

pytest: everything you need to know about fixtures (intermediate) anthony explains #487

today I go over all the options and use cases for fixtures in