Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update year in LICENSE #354

Merged
merged 1 commit into from
Apr 9, 2024

Update LICENSE

06e5b0e
Select commit
Loading
Failed to load commit list.
Merged

Update year in LICENSE #354

Update LICENSE
06e5b0e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / simpeg.discretize failed Apr 3, 2024 in 44m 9s

Build #20240403.1 had test failures

Details

Tests

  • Failed: 1 (0.01%)
  • Passed: 10,245 (99.95%)
  • Other: 4 (0.04%)
  • Total: 10,250
Code coverage

  • 7157 of 8408 lines covered (85.12%)

Annotations

Check failure on line 117 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / simpeg.discretize

Build log #L117

1 test(s) failed, 1283 test(s) collected.

Check failure on line 184 in Build log

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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