hypothesis 6.135.15__py3-none-any.whl → 6.135.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
hypothesis/core.py CHANGED
@@ -774,8 +774,8 @@ def skip_exceptions_to_reraise():
774
774
  exceptions.add(sys.modules["unittest2"].SkipTest)
775
775
  if "nose" in sys.modules:
776
776
  exceptions.add(sys.modules["nose"].SkipTest)
777
- if "_pytest" in sys.modules:
778
- exceptions.add(sys.modules["_pytest"].outcomes.Skipped)
777
+ if "_pytest.outcomes" in sys.modules:
778
+ exceptions.add(sys.modules["_pytest.outcomes"].Skipped)
779
779
  return tuple(sorted(exceptions, key=str))
780
780
 
781
781
 
@@ -790,8 +790,8 @@ def failure_exceptions_to_catch() -> tuple[type[BaseException], ...]:
790
790
  # them as standard exceptions, check for flakiness, etc.
791
791
  # See https://github.com/HypothesisWorks/hypothesis/issues/2223 for details.
792
792
  exceptions = [Exception, SystemExit, GeneratorExit]
793
- if "_pytest" in sys.modules:
794
- exceptions.append(sys.modules["_pytest"].outcomes.Failed)
793
+ if "_pytest.outcomes" in sys.modules:
794
+ exceptions.append(sys.modules["_pytest.outcomes"].Failed)
795
795
  return tuple(exceptions)
796
796
 
797
797
 
@@ -1785,12 +1785,13 @@ def given(
1785
1785
 
1786
1786
  if (
1787
1787
  "_pytest" in sys.modules
1788
+ and "_pytest.fixtures" in sys.modules
1788
1789
  and (
1789
1790
  tuple(map(int, sys.modules["_pytest"].__version__.split(".")[:2]))
1790
1791
  >= (8, 4)
1791
1792
  )
1792
1793
  and isinstance(
1793
- test, sys.modules["_pytest"].fixtures.FixtureFunctionDefinition
1794
+ test, sys.modules["_pytest.fixtures"].FixtureFunctionDefinition
1794
1795
  )
1795
1796
  ): # pragma: no cover # covered by pytest/test_fixtures, but not by cover/
1796
1797
  raise InvalidArgument("@given cannot be applied to a pytest fixture")
hypothesis/version.py CHANGED
@@ -8,5 +8,5 @@
8
8
  # v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
9
  # obtain one at https://mozilla.org/MPL/2.0/.
10
10
 
11
- __version_info__ = (6, 135, 15)
11
+ __version_info__ = (6, 135, 16)
12
12
  __version__ = ".".join(map(str, __version_info__))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypothesis
3
- Version: 6.135.15
3
+ Version: 6.135.16
4
4
  Summary: A library for property-based testing
5
5
  Author-email: "David R. MacIver and Zac Hatfield-Dodds" <david@drmaciver.com>
6
6
  License-Expression: MPL-2.0
@@ -5,7 +5,7 @@ hypothesis/__init__.py,sha256=-l2jKA8BwEWYTJoebvxmhJjA3M_K9qsMRu5CCNVCDFs,1624
5
5
  hypothesis/_settings.py,sha256=FGEckgd43ifGBrGcP8pN0YiVu74ZZl2IqghgUZBPUPI,39049
6
6
  hypothesis/configuration.py,sha256=ruHxaoUFm9_gjyFhloszHF8wt-_yW8FQtWfMXFLwdzc,4341
7
7
  hypothesis/control.py,sha256=6zyn0hDDOt5FugCpD2vw1UJFn3uYwd7lpYqMLoHpOgQ,12625
8
- hypothesis/core.py,sha256=SNleVqFMjWOtrPYByAbl0XBqkTnHKq12-fKbK0kWEQw,92576
8
+ hypothesis/core.py,sha256=3vGF9T0qx2XQHsDsJbmYh3JD4u_emJs881pvT36bVyY,92644
9
9
  hypothesis/database.py,sha256=qbiow_zUTUVUzvUa0OlCmkvrBRTyGxA7cTscIn6q_B0,47299
10
10
  hypothesis/entry_points.py,sha256=aY9iTAiu1GaLljqqXFcMBgipZQ60RBOwwvPVmEr1lQE,1440
11
11
  hypothesis/errors.py,sha256=fci2Xe3kUIEBZ92361vot2f7IRjtfEn1aI1Bdf8vfRU,10048
@@ -14,7 +14,7 @@ hypothesis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  hypothesis/reporting.py,sha256=f-jhl1JfAi5_tG8dsUd2qDjGcPdvxEzfF6hXmpTFQ1g,1761
15
15
  hypothesis/stateful.py,sha256=33U0FtVuRnY5EzIiCL50SHAT6ZPe1n2pbaohkxTF6gc,42955
16
16
  hypothesis/statistics.py,sha256=kZ5mc0fAg7gnSO6EmDo82fyz8DYhIiJ_mHe7srxOeQ0,5438
17
- hypothesis/version.py,sha256=yQH1WfGbj5zh1_p5bM8O66Wc_ECrPbSG_2Xc822WVPU,499
17
+ hypothesis/version.py,sha256=kZ9si9MqTIq6xNlHCam4embgA7Y2QDOYbYCGetiyGsQ,499
18
18
  hypothesis/extra/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
19
19
  hypothesis/extra/_array_helpers.py,sha256=PLmFckBfQpzQ4Q3dFJQqMmrbm7Qdvqxf1t9LHDCuSp0,27627
20
20
  hypothesis/extra/_patching.py,sha256=A5s5EAf81itr--w4SAFyzuecSZm4eT397jM7BvbnQXU,12385
@@ -105,9 +105,9 @@ hypothesis/utils/terminal.py,sha256=IxGYDGaE4R3b_vMfz5buWbN18XH5qVP4IxqAgNAU5as,
105
105
  hypothesis/vendor/__init__.py,sha256=gx4ENVDkrzBxy5Lv3Iyfs3tvMGdWMbiHfi95B7t61CY,415
106
106
  hypothesis/vendor/pretty.py,sha256=WEZC-UV-QQgCjUf2Iz1WWaWnbgT7Hc3s-GWEVxq-Qz0,36114
107
107
  hypothesis/vendor/tlds-alpha-by-domain.txt,sha256=W9hYvpu2BMmNgE-SfPp8-GTzEVjw0HJUviqlvHwpZu8,9588
108
- hypothesis-6.135.15.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
109
- hypothesis-6.135.15.dist-info/METADATA,sha256=IPPb1U79n7iXHNUvTXEZqYBaDssBHlHrt3MJ1IGrlYY,5638
110
- hypothesis-6.135.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
111
- hypothesis-6.135.15.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
112
- hypothesis-6.135.15.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
113
- hypothesis-6.135.15.dist-info/RECORD,,
108
+ hypothesis-6.135.16.dist-info/licenses/LICENSE.txt,sha256=rIkDe6xjVQZE3OjPMsZ2Xl-rncGhzpS4n4qAXzQaZ1A,17141
109
+ hypothesis-6.135.16.dist-info/METADATA,sha256=pNQMk-jx9oNxW-NlD3k2Oo84wTg32ZCt17abhRL-qBo,5638
110
+ hypothesis-6.135.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
111
+ hypothesis-6.135.16.dist-info/entry_points.txt,sha256=JDoUs9w1bYme7aG_eJ1cCtstRTWD71BzG8iRi-G2eHE,113
112
+ hypothesis-6.135.16.dist-info/top_level.txt,sha256=ReGreaueiJ4d1I2kEiig_CLeA0sD4QCQ4qk_8kH1oDc,81
113
+ hypothesis-6.135.16.dist-info/RECORD,,