Debian Codegraph @

hypothesis-python/tests/ghostwriter/recorded/re_compile_unittest.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 re
5 import unittest
6 from hypothesis import given, strategies as st
7
8
9 class TestFuzzCompile(unittest.TestCase):
10
11 @given(pattern=st.text(), flags=st.just(0))
12 def test_fuzz_compile(self, pattern, flags):
13 re.compile(pattern=pattern, flags=flags)