Add test skipping to disable arch specific tests conditionally

This commit is contained in:
Siu Kwan Lam 2013-10-05 13:37:04 +08:00
commit a82e876f93
8 changed files with 130 additions and 79 deletions

View file

@ -43,9 +43,9 @@ class TestNative(TestCase):
self.assertEqual(s, 0xab)
def test_assembly(self):
if sys.platform == 'darwin':
# skip this test on MacOSX for now
return
# if sys.platform == 'darwin':
# # skip this test on MacOSX for now
# return
m = self._make_module()
output = m.to_native_assembly()
@ -60,9 +60,9 @@ class TestNative(TestCase):
self._compile(src)
def test_object(self):
if sys.platform == 'darwin':
# skip this test on MacOSX for now
return
# if sys.platform == 'darwin':
# # skip this test on MacOSX for now
# return
m = self._make_module()
output = m.to_native_object()