[issue8621] uuid.uuid4() generates non-unique values on OSX

Bill Janssen report at bugs.python.org
Tue Jun 22 03:04:35 CEST 2010


Bill Janssen <bill.janssen at gmail.com> added the comment:

This is on an Intel machine running OS X 10.5.8.  I downloaded and built 2.7rc2 from source with "./configure ; make".  I then ran the tests with "make test".  test_uuid fails with this output:


test test_uuid failed -- Traceback (most recent call last):
  File "/private/tmp/Python-2.7rc2/Lib/test/test_uuid.py", line 472, in testIssue8621
    self.assertNotEqual(parent_value, child_value)
AssertionError: '751ca85de22f4450b7f95dd3f82c7e5f' == '751ca85de22f4450b7f95dd3f82c7e5f'

However, when I run the test standalone with this command-line, it passes:

% ./python.exe -Wd -3 -E -tt ./Lib/test/regrtest.py -l test_uuid
test_uuid
1 test OK.

Not sure what's going on.

----------
nosy: +janssen

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8621>
_______________________________________


More information about the Python-bugs-list mailing list