Skip to content

Commit 370c3ae

Browse files
Fix for Comparison of identical values (#51)
Signed-off-by: Nathaniel Starkman <nstarman@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 9e795af commit 370c3ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_gt():
8787

8888
def test_eq():
8989
# Compare with other OptionalDependencyEnum instances
90-
assert OptDeps.PACKAGING == OptDeps.PACKAGING
90+
assert OptDeps.PACKAGING is OptDeps.PACKAGING
9191
assert not OptDeps.PACKAGING == OptDeps.PYTEST # noqa: SIM201
9292

9393
# Compare with an unsupported type

0 commit comments

Comments
 (0)