From b16bb7079f96d299b03ec7436c76fa5f3e960820 Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Tue, 14 Mar 2023 10:33:04 -0500 Subject: [PATCH] remove xfail from passing test, test_initial_version_exists_for_locals --- tests/test_features.py | 5 ++--- tests/test_ssa_generation.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_features.py b/tests/test_features.py index e14804b43..aa0e9bd3c 100644 --- a/tests/test_features.py +++ b/tests/test_features.py @@ -27,9 +27,8 @@ def _run_all_detectors(slither: Slither) -> None: hardhat_available = shutil.which("hardhat") is not None -@pytest.mark.skipif( - not hardhat_available, reason="requires Hardhat and project setup" -) + +@pytest.mark.skipif(not hardhat_available, reason="requires Hardhat and project setup") def test_node() -> None: # hardhat must have been installed in tests/test_node_modules # For the CI its done through the github action config diff --git a/tests/test_ssa_generation.py b/tests/test_ssa_generation.py index 1ad00c0d6..14b690dbd 100644 --- a/tests/test_ssa_generation.py +++ b/tests/test_ssa_generation.py @@ -585,7 +585,6 @@ def test_storage_refers_to(): assert phinodes[1].lvalue in entryphi[0].rvalues or entryphi[1].rvalues -@pytest.mark.xfail(strict=True, reason="Fails in current slither version. Fix in #1102.") @pytest.mark.skipif( not valid_version("0.4.0"), reason="Solidity version 0.4.0 not available on this platform" )