Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 4af0f58

Browse files
committed
Exception handling format
1 parent 8b1f394 commit 4af0f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/tests/test_transactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_transaction(filename, testname, testdata):
3939
"value": str_to_bytes(str(tx.value)),
4040
"to": encode_hex(tx.to),
4141
}
42-
except Exception, e:
42+
except Exception as e:
4343
tx = None
4444
sys.stderr.write(str(e))
4545
if 'transaction' not in testdata: # expected to fail

0 commit comments

Comments
 (0)