[Python-checkins] r50949 - python/trunk/Lib/test/test_uuid.py
neal.norwitz
python-checkins at python.org
Sat Jul 29 21:29:36 CEST 2006
Author: neal.norwitz
Date: Sat Jul 29 21:29:35 2006
New Revision: 50949
Modified:
python/trunk/Lib/test/test_uuid.py
Log:
Disable these tests until they are reliable across platforms.
These problems may mask more important, real problems.
One or both methods are known to fail on: Solaris, OpenBSD, Debian, Ubuntu.
They pass on Windows and some Linux boxes.
Modified: python/trunk/Lib/test/test_uuid.py
==============================================================================
--- python/trunk/Lib/test/test_uuid.py (original)
+++ python/trunk/Lib/test/test_uuid.py Sat Jul 29 21:29:35 2006
@@ -293,6 +293,12 @@
TestUUID.last_node = node
def test_ifconfig_getnode(self):
+ import sys
+ print >>sys.__stdout__, \
+""" WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
+ It is disabled until the code and/or test can be fixed properly."""
+ return
+
import os
if os.name == 'posix':
node = uuid._ifconfig_getnode()
@@ -316,6 +322,12 @@
self.assert_(node < (1L <<48))
def test_unixdll_getnode(self):
+ import sys
+ print >>sys.__stdout__, \
+""" WARNING: uuid._unixdll_getnode is unreliable on many platforms.
+ It is disabled until the code and/or test can be fixed properly."""
+ return
+
import os
if importable('ctypes') and os.name == 'posix':
self.check_node(uuid._unixdll_getnode(), 'unixdll')
More information about the Python-checkins
mailing list