Update year in LICENSE #354
Merged
Azure Pipelines / simpeg.discretize
failed
Apr 3, 2024 in 44m 9s
Build #20240403.1 had test failures
Details
- Failed: 1 (0.01%)
- Passed: 10,245 (99.95%)
- Other: 4 (0.04%)
- Total: 10,250
- 7157 of 8408 lines covered (85.12%)
Annotations
Check failure on line 117 in Build log
azure-pipelines / simpeg.discretize
Build log #L117
1 test(s) failed, 1283 test(s) collected.
Check failure on line 184 in Build log
azure-pipelines / simpeg.discretize
Build log #L184
Bash exited with code '1'.
Check failure on line 1 in tests/base/test_tests.py::test_import_time
azure-pipelines / simpeg.discretize
tests/base/test_tests.py::test_import_time
@pytest.mark.skipif(not sys.platform.startswith("linux"), reason="Not Linux.")
def test_import_time():
# Relevant for the CLI: How long does it take to import?
cmd = ["time", "-f", "%U", "python", "-c", "import discretize"]
# Run it twice, just in case.
subprocess.run(cmd)
subprocess.run(cmd)
# Capture it
out = subprocess.run(cmd, capture_output=True)
# Currently we check t < 0.8s.
> assert float(out.stderr.decode("utf-8")[:-1]) < 0.8
E AssertionError: assert 0.82 < 0.8
E + where 0.82 = float('0.82')
tests/base/test_tests.py:150: AssertionError
Raw output
/home/vsts/work/1/s/tests/base/test_tests.py:150: AssertionError: assert 0.82 < 0.8
Loading