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

latest releases: hypothesis-python-6.116.0, hypothesis-python-6.115.6, hypothesis-python-6.115.5...
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.