[Python-Dev] python 3.3 module test failures on FreeBSD 9 amd64 (original) (raw)

A G thisismythrowawayaccount at gmail.com
Sat Dec 8 22:07:43 CET 2012


Hello All,

I am successfully compiling python 3.3 on FreeBSD 9.0 amd64 architecture. When I run the tests, I get these two test failures ( I trimmed out all the output from test cases that returned ok):

test_saltedcrypt (test.test_crypt.CryptTestCase) ... FAIL

====================================================================== FAIL: test_saltedcrypt (test.test_crypt.CryptTestCase)

Traceback (most recent call last): File "/usr/home/adam/Python-3.3.0/Lib/test/test_crypt.py", line 23, in test_saltedcrypt self.assertEqual(len(pw), method.total_size) AssertionError: 60 != 13


Ran 4 tests in 0.063s

====================================================================== FAIL: test_setegid (test.test_os.PosixUidGidTests)

Traceback (most recent call last): File "/usr/home/adam/Python-3.3.0/Lib/test/test_os.py", line 1211, in test_setegid self.assertRaises(os.error, os.setegid, 0) AssertionError: OSError not raised by setegid

====================================================================== FAIL: test_setgid (test.test_os.PosixUidGidTests)

Traceback (most recent call last): File "/usr/home/adam/Python-3.3.0/Lib/test/test_os.py", line 1199, in test_setgid self.assertRaises(os.error, os.setgid, 0) AssertionError: OSError not raised by setgid

====================================================================== FAIL: test_setregid (test.test_os.PosixUidGidTests)

Traceback (most recent call last): File "/usr/home/adam/Python-3.3.0/Lib/test/test_os.py", line 1231, in test_setregid self.assertRaises(os.error, os.setregid, 0, 0) AssertionError: OSError not raised by setregid


Ran 124 tests in 2.035s

FAILED (failures=3, skipped=23) Warning -- threading._dangling was modified by test_os test test_os failed 2 tests failed: test_crypt test_os

My question is, are these known? Is it safe for me to use this compiled version of python, or will I run into problems if I use those two modules or any code that depends on those? Ideally I'd like to resolve these and submit a port for python3.3 since the most recent FreeBSD port is stuck on 3.2.

Thanks! Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20121208/850af71f/attachment.html>



More information about the Python-Dev mailing list