Skip to content

Commit

Permalink
fix(fw): pypy compatibility - replace bytes=self with just self. (#451)
Browse files Browse the repository at this point in the history
pypy doesn't name this parameter for some reason.
  • Loading branch information
SamWilsn authored Feb 22, 2024
1 parent 9439e26 commit bf35d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ethereum_test_tools/vm/opcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def int(self) -> int:
"""
Returns the integer representation of the opcode.
"""
return int.from_bytes(bytes=self, byteorder="big")
return int.from_bytes(self, byteorder="big")

def __str__(self) -> str:
"""
Expand Down

0 comments on commit bf35d79

Please sign in to comment.