Skip to content
Snippets Groups Projects
strategies.py 24.7 KiB
Newer Older
  • Learn to ignore specific revisions
  • Tom Prince's avatar
    Tom Prince committed
            ]
        )
        whitespace = sampled_from(
            [
                # maybe no whitespace at all
                b""
                # or maybe some
                b" ",
                b"\t",
                b"\n",
                b"\r\n",
            ]
        )
    
    
        return builds(
            lambda leading, key, trailing: leading + key + trailing,
            whitespace,
            keys,
            whitespace,
        )