mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-24 13:30:18 +00:00
fix tests
This commit is contained in:
parent
d3fd70a98d
commit
5b3231951f
@ -64,10 +64,9 @@ class A:
|
||||
def get(self):
|
||||
return self.x
|
||||
|
||||
|
||||
print('ans_1:', add(1, 2))
|
||||
print('ans_2:', A('abc').get())
|
||||
exit()
|
||||
print('ans_1:', add(1, 2))
|
||||
print('ans_2:', A('abc').get())
|
||||
exit()
|
||||
''', capture_output=True, check=True)
|
||||
res.check_returncode()
|
||||
assert 'ans_1: 3' in res.stdout, res.stdout
|
||||
|
||||
@ -101,3 +101,6 @@ assert ret == {chr(i+97): i+1 for i in range(26)}
|
||||
|
||||
assert g(**ret) == ret
|
||||
assert g(**g(**ret)) == ret
|
||||
|
||||
# other known issues:
|
||||
# 1. d.extend(d) if d is deque
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user