diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-29 19:29:35 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-29 19:29:35 (GMT) |
commit | 2fde3bda8c54ab475958f0b49b1846a6cf3d76ba (patch) | |
tree | f077ee3bdf01c87aa993bb704c2e61beee5f1234 | |
parent | a40191c305a26d6f879f140153261dc12831a69d (diff) | |
download | cpython-2fde3bda8c54ab475958f0b49b1846a6cf3d76ba.zip cpython-2fde3bda8c54ab475958f0b49b1846a6cf3d76ba.tar.gz cpython-2fde3bda8c54ab475958f0b49b1846a6cf3d76ba.tar.bz2 |
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.
-rw-r--r-- | Lib/test/test_uuid.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index 36266e1..305a707 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -293,6 +293,12 @@ class TestUUID(TestCase): 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 @@ class TestUUID(TestCase): 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') |