Re: Re: unittest.TestCase and functools.partial don't seem to mix

2009-10-07 Thread Gabriel Genellina
En Tue, 06 Oct 2009 18:01:34 -0300, Joel Smith escribió: Gabriel Genellina wrote: Note that you don't *have* to use partial in this case, as you're building the suite yourself. Just create the TestCase instances manually: suite = unittest.TestSuite([ TestGenericWindow('testit',

Re: Re: unittest.TestCase and functools.partial don't seem to mix

2009-10-06 Thread Joel Smith
Gabriel Genellina wrote: Note that you don't *have* to use partial in this case, as you're building the suite yourself. Just create the TestCase instances manually: suite = unittest.TestSuite([ TestGenericWindow('testit', 'brown'), TestGenericWindow('testit', 'blue'), Test