[Biopython-dev] [Biopython (old issues only) - Bug #3268] (Closed) Windows and Python 3 specific unicode problem in SeqIO / SeqXML

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Fri Nov 18 14:33:57 UTC 2016


Issue #3268 has been updated by Markus Piotrowski.

Status changed from New to Closed
% Done changed from 0 to 100

This is rather outdated. Biopythont doesn't support Python 3.1 and 3.2 any longer.

----------------------------------------
Bug #3268: Windows and Python 3 specific unicode problem in SeqIO / SeqXML
https://redmine.open-bio.org/issues/3268#change-15384

* Author: Peter Cock
* Status: Closed
* Priority: Normal
* Assignee: Biopython Dev Mailing List
* Category: Main Distribution
* Target version: 
* URL: 
----------------------------------------
We're seeing unittest failures under Python 3.1 and 3.2 on Windows XP via the buildbot,

e.g.
http://testing.open-bio.org:8010/builders/Windows%20XP%20-%20Python%203.1/builds/240/steps/shell/logs/stdio
or
http://testing.open-bio.org:8010/builders/Windows%20XP%20-%20Python%203.2/builds/100/steps/shell/logs/stdio


======================================================================
FAIL: test_unicode_characters_desc (test_SeqIO_SeqXML.TestDetailedRead)
Test special unicode characters in the description.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\repositories\BuildBot\win31\build\build\py3.1\Tests\test_SeqIO_SeqXML.py", line 55, in test_unicode_characters_desc
    self.assertEqual(self.records["rna"][2].description, "\u00E5\u00C5\u00FC\u00F6\u00D6\u00DF\u00F8\u00E4\u00A2\u00A3$\u20AC\u9999\u80A0")
AssertionError: 'åÅüöÖßø䢣$€香�\xa0' != '�������䢣$�\u9999\u80a0'

----------------------------------------------------------------------

This test is currently working on Linux, Mac OS X for Python 3.

There was a similar failure in Jython 2.5.1 (cross platform), now fixed in Jython 2.5.2, see:
http://lists.open-bio.org/pipermail/biopython-dev/2011-July/009044.html

Peter




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20161118/c8665432/attachment.html>


More information about the Biopython-dev mailing list