{"issue":{"created_at":"2011-11-28T19:09:16Z","state":"open","updated_at":"2011-11-28T20:35:42Z","user":{"gravatar_id":"cd069083aa78ee62841bc72b305c7293","id":281420,"url":"https://api.github.com/users/jstenar","avatar_url":"https://secure.gravatar.com/avatar/cd069083aa78ee62841bc72b305c7293?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jstenar"},"comments":3,"body":"I get the error below when running the testsuite on python2.6, windows 7, ipython master 65ac74e\r\n\r\nIt seems to be due to not being able to load unicodedata module. But I am able to import unicodedata at a regular ipython prompt.\r\n\r\n\tIn [1]: import unicodedata\r\n\r\n\tIn [2]: unicodedata.\r\n\tunicodedata.UCD              unicodedata.decimal          unicodedata.lookup           unicodedata.numeric\r\n\tunicodedata.bidirectional    unicodedata.decomposition    unicodedata.mirrored         unicodedata.ucd_3_2_0\r\n\tunicodedata.category         unicodedata.digit            unicodedata.name             unicodedata.ucnhash_CAPI\r\n\tunicodedata.combining        unicodedata.east_asian_width unicodedata.normalize        unicodedata.unidata_version\r\n\r\n\tIn [2]: unicodedata.\r\n\r\n\r\nTestsuite error:\r\n\r\n\tIPython test group: IPython.utils\r\n\t..................................................................................SS..E.................................\r\n\t.......................................................................\r\n\t======================================================================\r\n\tERROR: Failure: SyntaxError ((unicode error) \\N escapes not supported (can't load unicodedata module) (test_process.py,\r\n\tline 70))\r\n\t----------------------------------------------------------------------\r\n\tTraceback (most recent call last):\r\n\t  File \"c:\\python26\\lib\\site-packages\\nose\\loader.py\", line 390, in loadTestsFromName\r\n\t    addr.filename, addr.module)\r\n\t  File \"c:\\python26\\lib\\site-packages\\nose\\importer.py\", line 39, in importFromPath\r\n\t    return self.importFromDir(dir_path, fqname)\r\n\t  File \"c:\\python26\\lib\\site-packages\\nose\\importer.py\", line 86, in importFromDir\r\n\t    mod = load_module(part_fqname, fh, filename, desc)\r\n\t  File \"c:\\python\\external\\ipython\\IPython\\utils\\tests\\test_process.py\", line 70\r\n\t    [u'h\\N{LATIN SMALL LETTER A WITH CARON}llo', [u'h\\N{LATIN SMALL LETTER A WITH CARON}llo']],\r\n\tSyntaxError: (unicode error) \\N escapes not supported (can't load unicodedata module)\r\n","assignee":null,"id":2372031,"number":1063,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"testing","color":"ededed","url":"https://api.github.com/repos/ipython/ipython/labels/testing"},{"name":"type-bug","color":"d9596c","url":"https://api.github.com/repos/ipython/ipython/labels/type-bug"},{"name":"unicode","color":"053485","url":"https://api.github.com/repos/ipython/ipython/labels/unicode"},{"name":"windows","color":"ededed","url":"https://api.github.com/repos/ipython/ipython/labels/windows"}],"title":"IPython.utils test error due to missing unicodedata module","closed_at":null,"html_url":"https://github.com/ipython/ipython/issues/1063","url":"https://api.github.com/repos/ipython/ipython/issues/1063","milestone":null},"action":"created","comment":{"created_at":"2011-11-28T20:35:41Z","updated_at":"2011-11-28T20:35:41Z","user":{"gravatar_id":"d5b897c37001627c2e3ad3c1e8a7e6fb","id":151929,"url":"https://api.github.com/users/minrk","avatar_url":"https://secure.gravatar.com/avatar/d5b897c37001627c2e3ad3c1e8a7e6fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"minrk"},"body":"I've seen this before (only on Windows), and I have no idea why it happens.  The unicodedata module is still fully functional, it's just that something weird happens in the test suite.  The easiest fix is to just not use this particular kind of escape in tests.  Is it somehow important that we do?","id":2906833,"url":"https://api.github.com/repos/ipython/ipython/issues/comments/2906833"}}