-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
In the CI
pyhf-validation/tests/test_cli.py
Lines 6 to 16 in a75fe22
| def test_version(script_runner): | |
| command = "pyhf-validation --version" | |
| start = time.time() | |
| ret = script_runner.run(*shlex.split(command)) | |
| end = time.time() | |
| elapsed = end - start | |
| assert ret.success | |
| assert hfval.__version__ in ret.stdout | |
| assert ret.stderr == "" | |
| # make sure it took less than a second | |
| assert elapsed < 1.0 |
will often fail as it will take longer than 1 second for test_version to complete but only on MacOS. I am not sure why it is only MacOS, but this should be resolved.
c.f. PR #9
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working