Skip to content

Remove unused test import breaking master lint - #710

Merged
ffumero2003 merged 1 commit into
masterfrom
fix-regression-bucket-unused-import
Nov 21, 2026
Merged

ffumero2003 merged 1 commit into
masterfrom
fix-regression-bucket-unused-import

Conversation

@ffumero2003

Copy link
Copy Markdown
Contributor

Problem

master lint is red: ruff F401 on test/unit/bucket/test_regression_bucket.py:48 — defect_raises is imported but unused.

Root cause

#708 and #709 both edited test/unit/bucket/test_regression_bucket.py in disjoint regions. Git auto-merged them cleanly (no conflict), but the combined result left the defect_raises import with no remaining usage.

Fix

Remove defect_raises from the import; the other three names (DefectStillPresent, expect, known_defect) are still used.

Verification

defect_raises has no references in the file after the change; the other imports retain 3/3/8 references. Restores the lint gate on master.

PRs #708 and #709 both edited test/unit/bucket/test_regression_bucket.py;
the clean auto-merge left `defect_raises` imported but unused, failing
ruff (F401) on master. Drop the unused import.
@ffumero2003 ffumero2003 self-assigned this Nov 21, 2026
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

This organization requires a seat for paid usage-based reviews, including automatic and on-demand reviews. Ask an admin to assign a seat or enable paid usage-based reviews for users without a seat in Billing.

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4a4f6403-e766-41b1-95dc-8d5652d67541
Commits

Reviewing files that changed from the base of the PR and between 747cab9 and 55b7aff.

Files selected for processing: 2

  • changelog.d/+regression-bucket-unused-import.infrastructure.md
  • test/unit/bucket/test_regression_bucket.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@ffumero2003
ffumero2003 merged commit 0da9bc0 into master Nov 21, 2026
29 checks passed
@ffumero2003
ffumero2003 deleted the fix-regression-bucket-unused-import branch November 21, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant