diff options
author | Georg Brandl <georg@python.org> | 2006-07-27 16:08:15 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-07-27 16:08:15 +0000 |
commit | 75a832d4e776ae6ee4aca1443cd595420b551b47 (patch) | |
tree | 261078333f151b5b672b23a95da6b0c8c169341c /Lib/test/test_uuid.py | |
parent | 6cea7d74ade5934e4bea810d37f2906498b6a1d9 (diff) | |
download | cpython-git-75a832d4e776ae6ee4aca1443cd595420b551b47.tar.gz |
Make uuid test suite pass on this box by requesting output with LC_ALL=C.
Diffstat (limited to 'Lib/test/test_uuid.py')
-rw-r--r-- | Lib/test/test_uuid.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index fa7e3f61f8..ad4d5fff36 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -288,12 +288,16 @@ class TestUUID(TestCase): def test_ifconfig_getnode(self): import os if os.name == 'posix': - self.check_node(uuid._ifconfig_getnode(), 'ifconfig') + node = uuid._ifconfig_getnode() + if node is not None: + self.check_node(node, 'ifconfig') def test_ipconfig_getnode(self): import os if os.name == 'nt': - self.check_node(uuid._ipconfig_getnode(), 'ipconfig') + node = uuid._ipconfig_getnode() + if node is not None: + self.check_node(node, 'ipconfig') def test_netbios_getnode(self): if importable('win32wnet') and importable('netbios'): |