pytest.org (@pytestdotorg) 's Twitter Profile
pytest.org

@pytestdotorg

A full-featured Python testing tool to help you write better programs; posts by @the_compiler

bsky.app/profile/pytest…
fosstodon.org/@pytest

ID: 3020468877

linkhttp://pytest.org calendar_today05-02-2015 21:03:07

2,2K Tweet

9,9K Followers

57 Following

pytest.org (@pytestdotorg) 's Twitter Profile Photo

PSA: #pytest users can safely ignore CVE-2022-42969 / github.com/advisories/GHS… in its py dep. The reported DoS "vulnerability" is in pylib's 18 year old SVN handling (py.path.svn*), which is not used in pytest, nor anywhere else to our knowledge. Details: github.com/pytest-dev/py/…

Ronny (@ossronny) 's Twitter Profile Photo

I'm happy to announce the release of #pytest 7.2.0 a special perk is dropping the dependency on pylib - the rest is in docs.pytest.org/en/stable/chan…

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

Two weeks until early-bird pricing ends for my #pytest training with Python Academy: March 7th to 9th 2023, both on-site in Leipzig 🇩🇪 *and* remote, three days full of knowledge from a pytest core maintainer! python-academy.com/courses/python… I submitted a (shorter) training to PyConDE & PyData too!

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

Update on my in-depth #pytest training with Python Academy: We decided to go remote-only as we only had one on-site signup. March 7th to 9th, still spaces available! python-academy.com/courses/python… My PyConDE & PyData training is still in review, hoping to share more information there soon too!

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

My 3-day in-depth #pytest training (remote) will start in a week, and there are still spaces available! python-academy.com/courses/python… I'm afraid my pytest training for #PyConDE was not accepted, and I won't make it to #PyConIT this year. Planning to propose it for #Europython though!

pytest.org (@pytestdotorg) 's Twitter Profile Photo

#pytest-html has a major release (4.0.0) coming in - please try rc4 pypi.org/project/pytest… to help iron out compatibility

pytest.org (@pytestdotorg) 's Twitter Profile Photo

#pytest 7.3 was released just at the beginning of the easter weekend, it brings multiple enhancements around tmppath retention and output details, but beware we learned of a windows only perf regression thats now under investigation

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

Blast from the past: My #pytest training from 7 years ago (mostly inherited by @hpk42) vs. now. Currently working on another big "rewrite", trying to introduce one big case study example (a small RPN calculator) instead of isolated examples for most of the code/exercises.

Blast from the past: My #pytest training from 7 years ago (mostly inherited by @hpk42) vs. now. Currently working on another big "rewrite", trying to introduce one big case study example (a small RPN calculator) instead of isolated examples for most of the code/exercises.
Florian Bruhin (@the_compiler) 's Twitter Profile Photo

Almost 3 years after #pytest-xvfb 2.0.0, I released v3.0.0 today! Other than packaging/formatting/typing/Python version updates, this release hopefully fixes a long-standing "XIO: fatal IO error 0 (Success)" issue, and adds support for using Xephyr/Xvnc. github.com/The-Compiler/p…

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

Got a lot of great feedback for my advanced #pytest training at #EuroPython2023! Next: 1 day basics, Sep 5th, @ CH Open Workshoptage, OST – Ostschweizer Fachhochschule in Rapperswil 🇨🇭 (de): workshoptage.ch/workshops/2023… In-depth: Mar 5-7th 2024, Leipzig 🇩🇪/Remote @ Python Academy (en): python-academy.com/courses/python…

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

Oh, looks like JetBrains/Python Software Foundation sneakily released the #Python developers survey 2022 results at some point! The first thing I look at is always how testing frameworks changed compared to the year before😅 #pytest up from 50% → 51%, "None" down from 38% → 35%. Yay!

Oh, looks like <a href="/jetbrains/">JetBrains</a>/<a href="/ThePSF/">Python Software Foundation</a> sneakily released the #Python developers survey 2022 results at some point!

The first thing I look at is always how testing frameworks changed compared to the year before😅 #pytest up from 50% → 51%, "None" down from 38% → 35%. Yay!
Florian Bruhin (@the_compiler) 's Twitter Profile Photo

#pytest trick: Want to patch a function returning a different value on every call, without full unittest.mock? values = iter(["eggs", "bacon", "spam"]) monkeypatch.setattr(random, "choice", lambda: next(values)) assert random.choice() == "eggs" assert random.choice() == "bacon"

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

My next open #pytest trainings: - #Europython 2024, July 8th – 14th 2024 (3h), Prague 🇨🇿: ep2024.europython.eu/session/pytest… - CH Open Workshoptage, Sept 2nd 2024, HSLU Rotkreuz 🇨🇭: pretalx.com/workshoptage-2… - 3 day in-depth training via Python Academy, March 4th – 6th 2025, Leipzig 🇩🇪 / Remote

EuroPython (@europython) 's Twitter Profile Photo

Check out Florian Bruhin presenting at #EuroPython2024, in their words: The #pytest tool presents a rapid and simple way to write tests for your Python code. This training gives an introduction with exercises to some distinguishing features. ep2024.europython.eu/session/pytest… 🐍

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

My open #pytest trainings in 2025: - 3 day in-depth training via Python Academy, March 4th – 6th 2025, Leipzig 🇩🇪 / Remote: python-academy.com/courses/python… - Planning to submit to #PyConDE 🇩🇪, #Europython 🇪🇺, maybe #PyConIT🇮🇹, maybe #PyConUS 🇺🇸 1st time? - Maybe another 3-day 🇩🇪/🇨🇭 in Q3/Q4

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

The recording for my talk at the Swiss #Python Summit about property-based testing with #Hypothesis is now online: media.ccc.de/v/sps24-56254-… Code and slides are here: github.com/The-Compiler/h… #pytest

Florian Bruhin (@the_compiler) 's Twitter Profile Photo

⏰ Only a week remaining with early-bird pricing for my annual three-day deep dive into #pytest with #Python Academy! 📅 March 4th — 6th 🌍 Leipzig (Germany) or remote 📕 Three days of pytest knowledge from one of its core maintainers. python-academy.com/courses/python…