Debian Codegraph @

hypothesis-python/tests/ghostwriter/recorded/optional_parameter.txt

raw
1 # This test code was written by the `hypothesis.extra.ghostwriter` module
2 # and is provided under the Creative Commons Zero public domain dedication.
3
4 import test_expected_output
5 import typing
6 from hypothesis import given, strategies as st
7
8
9 @given(a=st.floats(), b=st.one_of(st.none(), st.floats()))
10 def test_fuzz_optional_parameter(a: float, b: typing.Union[float, None]) -> None:
11 test_expected_output.optional_parameter(a=a, b=b)