FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

There is no reason to use @st.composite on a function which does not call the provided draw() function internally · Issue #187 · python-hyper/hyperlink · GitHub

There is no reason to use @st.composite on a function which does not call the provided draw() function internally #187

Description

Testing yields the following warning:

=============================== warnings summary =============================== 
src/hyperlink/test/test_hypothesis.py::TestHypothesisStrategies::test_hostname_labels_long_idn_punycode
  /usr/lib/python3.9/vendor-packages/hypothesis/strategies/_internal/core.py:1943: HypothesisDeprecationWarning: There is no reason to use @st.composite on a function which does not call the provided draw() function internally.
    note_deprecation(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 
================ 130 passed, 3 deselected, 1 warning in 10.02s =================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL