Skip to content

Commit 6ad5249

Browse files
committed
Simplify a conditional in the API test.
1 parent 110860f commit 6ad5249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/commands/register/register/register_command/TestRegisters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_register_commands(self):
5151
self.log_enable("registers")
5252

5353
error_str_matched = False
54-
if self.get_sme_available() == True and self.platformIsDarwin():
54+
if self.get_sme_available() and self.platformIsDarwin():
5555
# On Darwin AArch64 SME machines, we will have unavailable
5656
# registers when not in Streaming SVE Mode/SME, so
5757
# `register read -a` will report that some registers

0 commit comments

Comments
 (0)