Topic Brief: today I describe the history lore of pytest and how an errant CVE led to finally deleting the py library -- I show the clever trick I use ... today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you!

Why I Banned Python S Assertraises Intermediate Anthony Explains 451 -

today I describe the history lore of pytest and how an errant CVE led to finally deleting the py library -- I show the clever trick I use ... today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes!

Important details found

  • today I describe the history lore of pytest and how an errant CVE led to finally deleting the py library -- I show the clever trick I use ...
  • today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you!
  • I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes!
  • today we talk about mypy's "implicit optional" and why I think it's better to not use it!
  • today I talk about the difference between object and Any when typing things!

Why this topic is useful

A structured page helps reduce disconnected snippets by grouping the main subject with context, examples, and nearby entries.

Sponsored

Frequently Asked Questions

Is the information always complete?

Not always. Some topics may need verification from official or primary sources.

How should readers use this information?

Use it as a starting point, then open related pages for more specific details.

What should readers check next?

Readers should check related pages, official references, or updated sources when details matter.

Related Images

why I banned python's assertRaises (intermediate) anthony explains #451
how I sped up python by 20ms (intermediate) anthony explains #417
are your python tests even running? (intermediate) anthony explains #438
python Generics (intermediate) anthony explains #430
python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247
python typing: object vs Any (intermediate) anthony explains #275
this clever hack let me kill py (intermediate) anthony explains #493
mypy's "implicit optional" (and why I disable it) (intermediate) anthony explains #147
assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435
pytest: testing exceptions (beginner - intermediate) anthony explains #176
Sponsored
View Full Details
why I banned python's assertRaises (intermediate) anthony explains #451

why I banned python's assertRaises (intermediate) anthony explains #451

Read more details and related context about why I banned python's assertRaises (intermediate) anthony explains #451.

how I sped up python by 20ms (intermediate) anthony explains #417

how I sped up python by 20ms (intermediate) anthony explains #417

Read more details and related context about how I sped up python by 20ms (intermediate) anthony explains #417.

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 pytest and a helpful fix to prevent this from happening to you! playlist: ...

python Generics (intermediate) anthony explains #430

python Generics (intermediate) anthony explains #430

today we introduce another typing / mypy concept: generics! I show a few examples of how to write generic functions and generic ...

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247

Read more details and related context about python: exception catching and isinstance gotcha (beginner - intermediate) anthony explains #247.

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

this clever hack let me kill py (intermediate) anthony explains #493

this clever hack let me kill py (intermediate) anthony explains #493

today I describe the history lore of pytest and how an errant CVE led to finally deleting the py library -- I show the clever trick I use ...

mypy's "implicit optional" (and why I disable it) (intermediate) anthony explains #147

mypy's "implicit optional" (and why I disable it) (intermediate) anthony explains #147

today we talk about mypy's "implicit optional" and why I think it's better to not use it! - what is Optional: ...

assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435

assert_never / assert_type **CORRECTION** (intermediate) anthony explains #435

I goofed in my explanation of `assert_never` during the 3.11 video -- this corrects my mistakes! - what's new in

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 pytest! - parametrize: - TDD: ...