Commits

Ronny Pfannschmidt committed 27a12e4

fix test typo

Comments (0)

Files changed (1)

 typecodes = "cubBhHiIlLfd"
 
 
-skip_on_cpython = unittest.skipIf("__pypy__" in sys.modules, 'does not work on cpython')
+skip_on_cpython = unittest.skipUnless("__pypy__" in sys.modules, 'does not work on cpython')
 
 
 class BadConstructorTest(unittest.TestCase):
             f.close()
             test_support.unlink(test_support.TESTFN)
 
+    @skip_on_cpython
     def test_filewrite(self):
         a = array.array(self.typecode, 2*self.example)
         f = open(test_support.TESTFN, 'wb')