enable with_statement for py2.5 in test_basic and disable test_event