TST: py2.6 test fix in test_graphics.py