From: Stefan Behnel Date: Sat, 5 Feb 2011 17:19:48 +0000 (+0100) Subject: fix debugging test skipping for older Python versions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a5ebb6c3db27a013d8229d3110e5667d243f54d;p=cython.git fix debugging test skipping for older Python versions --- diff --git a/runtests.py b/runtests.py index c023c81a..844477ba 100644 --- a/runtests.py +++ b/runtests.py @@ -713,8 +713,7 @@ def collect_unittests(path, module_prefix, suite, selectors): if include_debugger: skipped_dirs = [] else: - cython_dir = os.path.dirname(os.path.abspath(__file__)) - skipped_dirs = [os.path.join(cython_dir, 'Cython', 'Debugger')] + skipped_dirs = ['Cython' + os.path.sep + 'Debugger' + os.path.sep] for dirpath, dirnames, filenames in os.walk(path): if dirpath != path and "__init__.py" not in filenames: