diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-09-08 05:51:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-09-08 05:51:10 +0300 |
commit | c0d0785944442f497f92963964f941415163c414 (patch) | |
tree | 32805b26ea3871a4189845ef1f8919b660113620 /check | |
parent | 5168420454b92205c13224a6801d3341d7f0c3d3 (diff) | |
download | subplot-c0d0785944442f497f92963964f941415163c414.tar.gz |
tests: don't run website example in --offline mode
This allows tests to run in an environment without external
networking.
Sponsored-by: author
Diffstat (limited to 'check')
-rwxr-xr-x | check | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -269,7 +269,8 @@ def check_subplots(r): lambda f: f == f.lower() and "subplotlib" not in f and "test-outputs" not in f, ) if r.offline: - subplots = [s for s in subplots if s != "reference.subplot"] + r.msg("Only testing subplot.subplot due to --offline") + subplots = ["subplot.subplot"] for subplot0 in subplots: r.title(f"checking subplot {subplot0}") |