After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691268 - Update python tests for Python 3
Update python tests for Python 3
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-07 04:36 UTC by Yaakov Selkowitz
Modified: 2013-01-20 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update python tests for Python 3 (2.14 KB, patch)
2013-01-07 04:36 UTC, Yaakov Selkowitz
committed Details | Review

Description Yaakov Selkowitz 2013-01-07 04:36:27 UTC
See https://live.gnome.org/GnomeGoals/Python3Porting for rationale.
Comment 1 Yaakov Selkowitz 2013-01-07 04:36:31 UTC
Created attachment 232893 [details] [review]
Update python tests for Python 3

print was changed from a statement to a function in 3.0, but as simple
print calls, this syntax is compatible with both 2.x and 3.x.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Comment 2 Ignacio Casal Quinteiro (nacho) 2013-01-07 07:04:47 UTC
Review of attachment 232893 [details] [review]:

Looks good.
Comment 3 Sébastien Wilmet 2013-01-20 13:31:58 UTC
Comment on attachment 232893 [details] [review]
Update python tests for Python 3

Pushed to the master branch.