import test.test_support test_support = test.test_support # This parses OK if bar is commented out @test_support.run_with_locale('LC_ALL', '') def foo(): print 'foo' foo() @test.test_support.run_with_locale('LC_ALL', '') def bar(): print 'bar' bar()