Apparently something changed with thread step-over, causing execution to move outside the stack frame, and thus the local variables were no longer visible.
Since the step-over is unrelated to the purpose of the test and since the comment for that line was just plain wrong (the breakpoint set is already beyond the last assignment, so this seems legit), I deleted that step.
Tested on Windows with both Python 2.7 and 3.5.