fix debugging test skipping for older Python versions
authorStefan Behnel <scoder@users.berlios.de>
Sat, 5 Feb 2011 17:19:48 +0000 (18:19 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 5 Feb 2011 17:19:48 +0000 (18:19 +0100)
runtests.py

index c023c81a1055a44f397a4f24f50727a38e73aac1..844477bae64ac398f485825922aa16179c69fbb7 100644 (file)
@@ -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: