Skip to content

Commit 17249ba

Browse files
Update Lib/test/test_monitoring.py
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
1 parent 6c1a7eb commit 17249ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_monitoring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ def _exec_super(self, codestr, optimized=False):
17631763
return self._exec(co)
17641764

17651765
def _has_load_super_attr(self, co):
1766-
has = any(instr.opname == "LOAD_SUPER_ATTR" or instr.opname == "LOAD_SUPER_METHOD"
1766+
has = any(instr.opname in ("LOAD_SUPER_ATTR", "LOAD_SUPER_METHOD")
17671767
for instr in dis.get_instructions(co))
17681768
if not has:
17691769
has = any(

0 commit comments

Comments
 (0)