diff options
author | Stefan Krah <stefan@bytereef.org> | 2010-04-11 16:49:20 (GMT) |
---|---|---|
committer | Stefan Krah <stefan@bytereef.org> | 2010-04-11 16:49:20 (GMT) |
commit | 6108ea8dad64ad94ba9d1bf7497af3d501f4935d (patch) | |
tree | 4519108d724f13200769d8f9ce46680539856410 /Lib/unittest/test/test_loader.py | |
parent | 22005fc5bad9d2c3eda9defb28e6a56ede4b2c8a (diff) | |
download | cpython-6108ea8dad64ad94ba9d1bf7497af3d501f4935d.zip cpython-6108ea8dad64ad94ba9d1bf7497af3d501f4935d.tar.gz cpython-6108ea8dad64ad94ba9d1bf7497af3d501f4935d.tar.bz2 |
Merged revisions 79954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79954 | stefan.krah | 2010-04-11 17:15:54 +0200 (Sun, 11 Apr 2010) | 17 lines
Fix for issues #3581, #1481 and #7650:
1. The assumptions in check_node() were too restrictive:
- Hardware addresses with universal_local_bit=1 are valid
(locally administered).
- Many of the tested functions (including uuid.getnode())
may return valid RFC 4122 random node IDs. These are pretty
much random 48-bit values with the multicast bit set to 1.
2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
on some platforms. The resulting TypeError is now caught.
........
Diffstat (limited to 'Lib/unittest/test/test_loader.py')
0 files changed, 0 insertions, 0 deletions