mirror of https://github.com/cool-RR/PySnooper.git
Make order test more reliable on pypy
This commit is contained in:
parent
1cd2dffa13
commit
ca90f55d5f
|
@ -986,6 +986,10 @@ def test_var_order():
|
|||
string_io = io.StringIO()
|
||||
|
||||
def f(one, two, three, four):
|
||||
five = None
|
||||
six = None
|
||||
seven = None
|
||||
|
||||
five, six, seven = 5, 6, 7
|
||||
|
||||
with pysnooper.snoop(string_io, depth=2):
|
||||
|
@ -1006,6 +1010,12 @@ def test_var_order():
|
|||
|
||||
CallEntry('def f(one, two, three, four):'),
|
||||
LineEntry(),
|
||||
VariableEntry("five"),
|
||||
LineEntry(),
|
||||
VariableEntry("six"),
|
||||
LineEntry(),
|
||||
VariableEntry("seven"),
|
||||
LineEntry(),
|
||||
VariableEntry("five", "5"),
|
||||
VariableEntry("six", "6"),
|
||||
VariableEntry("seven", "7"),
|
||||
|
|
Loading…
Reference in New Issue