Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370595 - FEATURES=test net-zope/zope-fixers-1.0 failure
Summary: FEATURES=test net-zope/zope-fixers-1.0 failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 05:14 UTC by Dan Wallis
Modified: 2011-07-07 15:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build log (build.log,6.27 KB, text/x-log)
2011-06-08 05:14 UTC, Dan Wallis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Wallis 2011-06-08 05:14:13 UTC
Created attachment 276245 [details]
Full build log

When upgrading net-zope/zope-interface from v3.5.3 to v3.6.2, net-zope/zope-fixers-1.0 is now pulled in. It's not keyworded for ~x86-linux yet, but it fails its tests nonetheless:

SyntaxError: Non-ASCII character '\xc2' in file /home/fredden/.gentoo/var/tmp/portage/net-zope/zope-fixers-1.0/work/zope.fixers-1.0/zope/fixers/tests.py on line 303, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


This patch fixes it for me:
--- tests.py.orig	2011-06-08 17:11:40.000000000 +1200
+++ tests.py	2011-06-08 17:12:09.000000000 +1200
@@ -1,3 +1,4 @@
+# coding=utf-8
 import unittest
 from lib2to3.refactor import RefactoringTool
 


Should this perhaps be sent upstream?
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-07-07 15:46:24 UTC
Tests with Python 2 are now skipped.