[Python-checkins] distutils2: fixed test

tarek.ziade python-checkins at python.org
Sat Nov 13 18:25:16 CET 2010


tarek.ziade pushed 07d9512250c3 to distutils2:

http://hg.python.org/distutils2/rev/07d9512250c3
changeset:   817:07d9512250c3
user:        Tarek Ziade <tarek at ziade.org>
date:        Sat Nov 13 12:58:30 2010 +0100
summary:     fixed test
files:       distutils2/tests/test_compiler.py

diff --git a/distutils2/tests/test_compiler.py b/distutils2/tests/test_compiler.py
--- a/distutils2/tests/test_compiler.py
+++ b/distutils2/tests/test_compiler.py
@@ -7,6 +7,10 @@
 
 
 class FakeCompiler(object):
+
+    name = 'fake'
+    description = 'Fake'
+
     def library_dir_option(self, dir):
         return "-L" + dir
 
@@ -33,7 +37,7 @@
 
         # make sure AR gets caught
         class compiler:
-            compiler_type = 'unix'
+            name = 'unix'
 
             def set_executables(self, **kw):
                 self.exes = kw

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list