Skip to content

tests: use assert True in the test resources - #38

Merged
xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:fix-b044
Nov 11, 2026
Merged

xiaoxiang781216 merged 1 commit into
apache:mainfrom
raiden00pl:fix-b044

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

flake8-bugbear 26.11 adds B044, which reports assert 1 as an assert that is always true, and the flake8 check fails on these test resource files. The tests are meant to always pass, so use assert True.

Assisted-by: Claude Code:claude-opus-5-5

flake8-bugbear 26.11 adds B044, which reports `assert 1` as an assert
that is always true, and the flake8 check fails on these test resource
files. The tests are meant to always pass, so use `assert True`.

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
Assisted-by: Claude Code:claude-opus-5-5
@xiaoxiang781216
xiaoxiang781216 merged commit 8cd057a into apache:main Nov 11, 2026
6 checks passed
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.

4 participants