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

Commit 5e82393

Browse files
committed
cleanup *.se test remains
1 parent 9fef5bc commit 5e82393

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ethereum/tests/test_contracts.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def test_inset():
159159
open(filename2, 'w').write(inset_inner_code)
160160
c = s.abi_contract(inset_outer_code)
161161
assert c.foo() == 22
162+
os.remove(filename2)
162163

163164
# Inset at the end instead
164165

@@ -189,6 +190,7 @@ def test_inset2():
189190
open(filename25, 'w').write(inset_inner_code2)
190191
c = s.abi_contract(inset_outer_code2)
191192
assert c.foo() == 22
193+
os.remove(filename25)
192194

193195

194196
# Test a simple namecoin implementation
@@ -499,7 +501,7 @@ def test_callcode():
499501
open(filename3, 'w').write(add1_code)
500502
c = s.contract(callcode_test_code)
501503
o1 = s.send(tester.k0, c, 0)
502-
os.remove(filename2)
504+
os.remove(filename3)
503505
assert utils.big_endian_to_int(o1) == 64
504506

505507

@@ -1077,7 +1079,7 @@ def test_indirect_sort():
10771079
open(filename9, 'w').write(sort_code)
10781080
c = s.abi_contract(sort_tester_code)
10791081
assert c.test([80, 234, 112, 112, 29]) == [29, 80, 112, 112, 234]
1080-
1082+
os.remove(filename9)
10811083

10821084
multiarg_code = """
10831085
def kall(a:arr, b, c:arr, d:str, e):

0 commit comments

Comments
 (0)