diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | tst/test_help.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md index 9d5d710..1967b9d 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ on any Python package, it is safe to be tested in-tree: Issues should be reported to [chung@loa.loang.net][loang mailing list]. The mailing list also welcomes patches. Please maintain -the full branch [coverage] and keep the [hobgoblins][flake8] happy: +a full branch [coverage] and keep the [hobgoblins][flake8] happy: PYTHONPATH=src coverage run coverage report diff --git a/tst/test_help.py b/tst/test_help.py index 0889961..3e5ce87 100644 --- a/tst/test_help.py +++ b/tst/test_help.py @@ -57,6 +57,7 @@ def test_long_option(help_string, short, long, metavar): assert f'{short} {metavar}, {long}={metavar}' in help_string +@example('a.example:b', None) # string is unlikely to match .*:\D+ @example('a.example:98', None) # string is unlikely to match .*:\d+ @given(...) def test_netloc(string: str, default_port: int | None): |