From 91c2f9b811b5398fc5acde3b8435497d2a094de3 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Wed, 28 Oct 2009 22:53:25 -0700 Subject: [PATCH] Disable embedded testing for Py3 (can't run Cython). --- runtests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index ce48632e..10ede0d2 100644 --- a/runtests.py +++ b/runtests.py @@ -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 -- 2.26.2