From da536db8a2f39a941cbd2f141cf3bdf095d534d6 Mon Sep 17 00:00:00 2001 From: Kevin Turcios Date: Thu, 9 Apr 2026 18:21:23 -0500 Subject: [PATCH 1/2] Clean up Java test skip markers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove dead `import shutil` from test_comparator.py - Rename `requires_java` → `requires_java_runtime` for consistency with test_run_and_parse.py - Remove redundant `@requires_java_runtime` on test_behavior_return_value_correctness (class already has it) --- tests/test_languages/test_java/test_comparator.py | 7 +++---- tests/test_languages/test_java/test_run_and_parse.py | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_languages/test_java/test_comparator.py b/tests/test_languages/test_java/test_comparator.py index 268044e5c..2c01db806 100644 --- a/tests/test_languages/test_java/test_comparator.py +++ b/tests/test_languages/test_java/test_comparator.py @@ -1,6 +1,5 @@ """Tests for Java test result comparison.""" -import shutil import sqlite3 from pathlib import Path @@ -15,7 +14,7 @@ from codeflash.models.models import TestDiffScope # Skip tests that require the codeflash-runtime JAR (built by Maven from codeflash-java-runtime/) -requires_java = pytest.mark.skipif( +requires_java_runtime = pytest.mark.skipif( _find_comparator_jar() is None, reason="codeflash-runtime JAR not found - skipping Comparator integration tests", ) @@ -451,7 +450,7 @@ def test_deeply_nested_objects(self): assert equivalent is True -@requires_java +@requires_java_runtime class TestTestResultsTableSchema: """Tests for Java Comparator reading from test_results table schema. @@ -926,7 +925,7 @@ def test_compare_different_error_types(self): assert diffs[0].scope == TestDiffScope.DID_PASS -@requires_java +@requires_java_runtime class TestComparatorJavaEdgeCases(TestTestResultsTableSchema): """Tests for Java Comparator edge cases that require Java runtime. diff --git a/tests/test_languages/test_java/test_run_and_parse.py b/tests/test_languages/test_java/test_run_and_parse.py index 74d6818f2..4ae1f7254 100644 --- a/tests/test_languages/test_java/test_run_and_parse.py +++ b/tests/test_languages/test_java/test_run_and_parse.py @@ -377,7 +377,6 @@ def test_behavior_multiple_test_methods(self, java_project): assert "testAddPositive" in test_names assert "testAddZero" in test_names - @requires_java_runtime def test_behavior_return_value_correctness(self, tmp_path): """Verify the Comparator JAR correctly identifies equivalent vs. differing results. From 41841325e2a65a20d7f38923a7cea0c0eee7558a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 03:23:38 +0000 Subject: [PATCH 2/2] style: auto-format with ruff --- codeflash-benchmark/codeflash_benchmark/version.py | 2 +- codeflash/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codeflash-benchmark/codeflash_benchmark/version.py b/codeflash-benchmark/codeflash_benchmark/version.py index a759bb9fd..4dfa84c29 100644 --- a/codeflash-benchmark/codeflash_benchmark/version.py +++ b/codeflash-benchmark/codeflash_benchmark/version.py @@ -1,2 +1,2 @@ # These version placeholders will be replaced by uv-dynamic-versioning during build. -__version__ = "0.20.5.post169.dev0+2dba3e38" +__version__ = "0.20.5.post177.dev0+da536db8" diff --git a/codeflash/version.py b/codeflash/version.py index a759bb9fd..4dfa84c29 100644 --- a/codeflash/version.py +++ b/codeflash/version.py @@ -1,2 +1,2 @@ # These version placeholders will be replaced by uv-dynamic-versioning during build. -__version__ = "0.20.5.post169.dev0+2dba3e38" +__version__ = "0.20.5.post177.dev0+da536db8"