Compare()
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
from test_utils import *
|
||||
|
||||
|
||||
def test_constant():
|
||||
|
||||
@Commentor("<return>")
|
||||
def target():
|
||||
x = 2
|
||||
print(x == 2)
|
||||
|
||||
asserteq_or_print(target(), '''
|
||||
def target():
|
||||
x = 2
|
||||
print(x == 2)
|
||||
"""
|
||||
True : x == 2
|
||||
None : print(x == 2)
|
||||
"""
|
||||
''')
|
||||
Reference in New Issue
Block a user