Skip to content

Commit 865852e

Browse files
committed
test: mark test as slow
1 parent c9c0542 commit 865852e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ addopts = """
3030
"""
3131
python_files = "test_*.py"
3232
testpaths = "tests"
33-
markers = "fuzzing: Run Hypothesis fuzz test suite"
33+
markers = """
34+
fuzzing: Run Hypothesis fuzz test suite
35+
install: Tests that will install a solc version (slow)
36+
"""
3437

3538
[tool.isort]
3639
line_length = 100

tests/test_compiler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,8 @@ def test_compile_via_ir(project, compiler):
572572
path.unlink()
573573

574574

575-
def test_compile_missing_version(project, compiler, temp_solcx_path):
575+
@pytest.mark.install
576+
def test_installs_from_compile(project, compiler, temp_solcx_path):
576577
"""
577578
Test the compilation of a contract with no defined pragma spec.
578579

0 commit comments

Comments
 (0)