[Python] Partial hypothesis examples

Discussão em 'Python' iniciado por Stack, Abril 10, 2025.

  1. Stack

    Stack Membro Participativo

    Is it in any way possible to provide partial examples, such as in the following case, where b is missing from the example decorator?

    @given(a=st.integers(), b=st.integers())
    @example(a=0)
    def test_example(a, b):
    ...

    Continue reading...

Compartilhe esta Página