github HypothesisWorks/hypothesis hypothesis-python-5.1.0
Hypothesis for Python - version 5.1.0

latest releases: hypothesis-python-6.100.4, hypothesis-python-6.100.3, hypothesis-python-6.100.2...
4 years ago

This release teaches "from_type()" how to generate
"datetime.timezone". As a result, you can now generate
"datetime.tzinfo" objects without having pytz installed.

If your tests specifically require pytz timezones, you should be using
"hypothesis.extra.pytz.timezones()" instead of "st.from_type(tzinfo)".

The canonical version of these notes (with links) is on readthedocs.

Don't miss a new hypothesis release

NewReleases is sending notifications on new releases.