diff -r 61463ff7dc68 Lib/test/test_py_compile.py --- a/Lib/test/test_py_compile.py Wed Oct 23 22:03:45 2013 +0200 +++ b/Lib/test/test_py_compile.py Fri Oct 25 08:20:41 2013 +0300 @@ -75,6 +75,8 @@ self.assertTrue(os.path.exists(self.pyc_path)) self.assertFalse(os.path.exists(self.cache_path)) + @unittest.skipIf(hasattr(os, 'geteuid') and os.geteuid() == 0, + "non-root user required") @unittest.skipIf(os.name == 'nt', 'cannot control directory permissions on Windows') def test_exceptions_propagate(self):