Skip to content

Conversation

@chennes
Copy link
Member

@chennes chennes commented Jan 23, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 23, 2026 17:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses linter warnings by replacing two assertTrue(x <= y) assertions with the more specific assertLessEqual(x, y) assertions in the addon comparison test.

Changes:

  • Replaced assertTrue(same <= aa) with assertLessEqual(same, aa) on line 420
  • Replaced assertTrue(aa <= same) with assertLessEqual(aa, same) on line 421

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 419 to +421
same = Addon("A", branch="A")
self.assertTrue(same <= aa)
self.assertTrue(aa <= same)
self.assertLessEqual(same, aa)
self.assertLessEqual(aa, same)
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These three lines are identical duplicates of lines 415-417. This duplication appears to have been present in the original code and should be removed to avoid redundant test assertions.

Copilot uses AI. Check for mistakes.
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