Media Summary: today I talk about `ExitStack` and a few uses of it: today I talk about how .contextmanager works - with + today I talk about how to test exceptions in

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 .contextmanager works - with + today I talk about how to test exceptions in 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 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 show how even if you don't know the operator precedence you can figure out how this evaluates! playlist: ... today I go over an extremely common pitfall with today I talk about `coverage` -- a useful tool to help you figure out whether your code is actually tested! playlist: ... today I talk about how to test a function which is decorated with `lru_cache` with today I show a common pitfall with `lru_cache` and how it will almost always be a memory leak if used on a method! - what is ... today I talk about the `cat` command -- and that it's almost always unnecessary! 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
how @contextmanager works (with/contexts part 3) (advanced) anthony explains #140
pytest: testing exceptions (beginner - intermediate) anthony explains #176
why can't I signal a MagicMock() ? (intermediate) anthony explains #469
what are python doctests? (beginner - intermediate) anthony explains #300
why pytest.mark.usefixtures? (intermediate) anthony explains #098
pytest: xfail vs xpass and all test statuses (beginner - intermediate) anthony explains #260
why does python think -1**0 is -1 ? (intermediate) anthony explains #470
getting started with pytest (beginner - intermediate) anthony explains #518
are your python tests even running? (intermediate) anthony explains #438
what is coverage? (intermediate) anthony explains #480
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:

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 +

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

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 ...

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

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

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

today I talk about why I used @

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

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: ...

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

are your python tests even running? (intermediate) anthony explains #438

are your python tests even running? (intermediate) anthony explains #438

today I go over an extremely common pitfall 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: ...

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

don't lru_cache methods! (intermediate) anthony explains #382

don't lru_cache methods! (intermediate) anthony explains #382

today I show a common pitfall with `lru_cache` and how it will almost always be a memory leak if used on a method! - what is ...

don't use cat! (intermediate) anthony explains #508

don't use cat! (intermediate) anthony explains #508

today I talk about the `cat` command -- and that it's almost always unnecessary! 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