]> granicus.if.org Git - python/commitdiff
Disable test_getnode too, since this is also unreliable.
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 29 Jul 2006 20:37:08 +0000 (20:37 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 29 Jul 2006 20:37:08 +0000 (20:37 +0000)
Lib/test/test_uuid.py

index 305a707b86e7edff7e88e0382f07c22669993551..5b6bf60e9e2141a91a5d9ad3a562e71fc5b5817c 100644 (file)
@@ -338,6 +338,12 @@ class TestUUID(TestCase):
             self.check_node(uuid._windll_getnode(), 'windll')
 
     def test_getnode(self):
+        import sys
+        print >>sys.__stdout__, \
+"""    WARNING: uuid.getnode is unreliable on many platforms.  
+        It is disabled until the code and/or test can be fixed properly."""
+        return
+
         node1 = uuid.getnode()
         self.check_node(node1, "getnode1")