Mercurial > p > roundup > code
comparison test/test_liveserver.py @ 8217:cd76d5d59c37
fix(web) issue2551382 - fix missing hypothesis case
Syntax error if hypothesis is not importable. Only affects python2 CI.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 16 Dec 2024 21:29:07 -0500 |
| parents | 03020f08a685 |
| children | 32aaf5dc562b |
comparison
equal
deleted
inserted
replaced
| 8216:03020f08a685 | 8217:cd76d5d59c37 |
|---|---|
| 46 pass | 46 pass |
| 47 | 47 |
| 48 # define the decorator functions | 48 # define the decorator functions |
| 49 example = given = reproduce_failure = settings = noop_decorators_with_args | 49 example = given = reproduce_failure = settings = noop_decorators_with_args |
| 50 # and stratgies using in decorators | 50 # and stratgies using in decorators |
| 51 binary = characters = emails, none = one_of = sampled_from = text = noop_strategy | 51 binary = characters = emails = none = one_of = sampled_from = text = noop_strategy |
| 52 | 52 |
| 53 | 53 |
| 54 try: | 54 try: |
| 55 import brotli | 55 import brotli |
| 56 skip_brotli = lambda func, *args, **kwargs: func | 56 skip_brotli = lambda func, *args, **kwargs: func |
