From: Nikita Nemkin Date: Sat, 4 May 2013 13:03:47 +0000 (+0600) Subject: Fixes for absolute_import and inop test failures on Windows. X-Git-Tag: 0.19.1~20^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2934593082702a86855f0828cec9a51c45b20096;p=platform%2Fupstream%2Fpython-cython.git Fixes for absolute_import and inop test failures on Windows. --- diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py index 3c04f72..cdb3f3f 100644 --- a/Cython/Build/Dependencies.py +++ b/Cython/Build/Dependencies.py @@ -53,7 +53,7 @@ def extended_iglob(pattern): if path not in seen: seen.add(path) yield path - for path in extended_iglob(join_path(root, '*', '**', rest)): + for path in extended_iglob(join_path(root, '*', '**/' + rest)): if path not in seen: seen.add(path) yield path diff --git a/tests/run/inop.pyx b/tests/run/inop.pyx index b68a47d..af637d5 100644 --- a/tests/run/inop.pyx +++ b/tests/run/inop.pyx @@ -203,7 +203,7 @@ wide_unicode_character_surrogate2 = 0xDEDC @cython.test_fail_if_path_exists("//SwitchStatNode") @cython.test_assert_path_exists("//PrimaryCmpNode") -def m_wide_unicode_literal(Py_UNICODE a): +def m_wide_unicode_literal(Py_UCS4 a): """ >>> m_unicode_literal(ord('f')) 1