Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 256972 Details for
Bug 293974
dev-python/cheetah-2.4.3 fails tests with Python 2.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Second patch provided by Fedora
cheetah-2.4-python2.7-compat.patch (text/plain), 1.46 KB, created by
Raphaël Vinot
on 2010-12-12 17:59:32 UTC
(
hide
)
Description:
Second patch provided by Fedora
Filename:
MIME Type:
Creator:
Raphaël Vinot
Created:
2010-12-12 17:59:32 UTC
Size:
1.46 KB
patch
obsolete
>diff -uNr Cheetah-2.4.2.1.orig/cheetah/Template.py Cheetah-2.4.2.1/cheetah/Template.py >--- Cheetah-2.4.2.1.orig/cheetah/Template.py 2010-02-07 23:17:23.000000000 -0500 >+++ Cheetah-2.4.2.1/cheetah/Template.py 2010-10-18 14:06:54.439935114 -0400 >@@ -32,7 +32,7 @@ > > filetype = None > >-if isinstance(sys.version_info, tuple): >+if isinstance(sys.version_info[:], tuple): > # Python 2.xx > filetype = types.FileType > def createMethod(func, cls): >diff -uNr Cheetah-2.4.2.1.orig/cheetah/Tests/SyntaxAndOutput.py Cheetah-2.4.2.1/cheetah/Tests/SyntaxAndOutput.py >--- Cheetah-2.4.2.1.orig/cheetah/Tests/SyntaxAndOutput.py 2010-10-18 15:00:44.668935001 -0400 >+++ Cheetah-2.4.2.1/cheetah/Tests/SyntaxAndOutput.py 2010-10-18 14:43:56.500934997 -0400 >@@ -847,17 +847,17 @@ > def test10(self): > r"""func placeholder - with ('''\nstring\n''')""" > self.verify("$aFunc('''\naoeu\n''')", >- "\naoeu\n") >+ "\naoeu\n", convertEOLs=False) > > def test11(self): > r"""func placeholder - with ('''\nstring'\n''')""" > self.verify("$aFunc('''\naoeu'\n''')", >- "\naoeu'\n") >+ "\naoeu'\n", convertEOLs=False) > > def test12(self): > r'''func placeholder - with ("""\nstring\n""")''' > self.verify('$aFunc("""\naoeu\n""")', >- "\naoeu\n") >+ "\naoeu\n", convertEOLs=False) > > def test13(self): > """func placeholder - with (string*int)"""
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 293974
:
210810
|
256971
| 256972 |
256973
|
256974