Disable embedded testing for Py3 (can't run Cython).
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 29 Oct 2009 05:53:25 +0000 (22:53 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 29 Oct 2009 05:53:25 +0000 (22:53 -0700)
runtests.py

index ce48632eb3d0882e4c3b2f0be38360bdd103de99..10ede0d24159f6a04b7b05e696356bbe155252ae 100644 (file)
@@ -127,7 +127,8 @@ class TestBuilder(object):
                     continue
                 suite.addTest(
                     self.handle_directory(path, filename))
-        if sys.platform not in ['win32']:
+        if sys.platform not in ['win32'] and sys.version_info[0] < 3:
+            # Non-Windows makefile, can't run Cython under Py3.
             if [1 for selector in self.selectors if selector("embedded")]:
                 suite.addTest(unittest.makeSuite(EmbedTest))
         return suite