From 2934593082702a86855f0828cec9a51c45b20096 Mon Sep 17 00:00:00 2001 From: Nikita Nemkin Date: Sat, 4 May 2013 19:03:47 +0600 Subject: [PATCH] Fixes for absolute_import and inop test failures on Windows. --- Cython/Build/Dependencies.py | 2 +- tests/run/inop.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4