[Checkins] SVN: zope.publisher/branches/py3-attempt2/src/zope/publisher/ Fix support for Python-2.6
Marius Gedminas
marius at gedmin.as
Thu Feb 21 13:13:56 UTC 2013
On Thu, Feb 21, 2013 at 07:38:23AM -0500, Andrey Lebedev wrote:
> Modified: zope.publisher/branches/py3-attempt2/src/zope/publisher/tests/test_mapply.py
> ===================================================================
> --- zope.publisher/branches/py3-attempt2/src/zope/publisher/tests/test_mapply.py 2013-02-21 10:39:33 UTC (rev 129560)
> +++ zope.publisher/branches/py3-attempt2/src/zope/publisher/tests/test_mapply.py 2013-02-21 12:38:23 UTC (rev 129561)
> @@ -45,8 +45,11 @@
> v = mapply(cc.compute, (), values)
> self.failUnlessEqual(v, '334')
>
> - @unittest.skipUnless(PYTHON2, "Classic classes are only available in py3")
> def testClassicClass(self):
> + if not PYTHON2:
> + # Classic classes are only available in py3
Heh, s/only/not/.
> + return
> +
> values = {'a':2, 'b':3}
> class c(object):
> a = 3
>
Marius Gedminas
--
Thus spake the master programmer:
"After three days without programming, life becomes meaningless."
-- Geoffrey James, "The Tao of Programming"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/checkins/attachments/20130221/8368cf78/attachment.sig>
More information about the checkins
mailing list