diff --git a/tests/test_pysnooper.py b/tests/test_pysnooper.py index ea924a0..4e31f14 100644 --- a/tests/test_pysnooper.py +++ b/tests/test_pysnooper.py @@ -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"),