Fixing test_stacklog for python 2.6