Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: py3k
Changeset: r85976:12a7377be119
Date: 2016-08-02 02:18 +0100
http://bitbucket.org/pypy/pypy/changeset/12a7377be119/

Log:    Fix bad merge in test_number.py

diff --git a/pypy/module/cpyext/test/test_number.py 
b/pypy/module/cpyext/test/test_number.py
--- a/pypy/module/cpyext/test/test_number.py
+++ b/pypy/module/cpyext/test/test_number.py
@@ -1,5 +1,6 @@
 from rpython.rtyper.lltypesystem import lltype
 from pypy.module.cpyext.test.test_api import BaseApiTest
+from pypy.module.cpyext.test.test_cpyext import AppTestCpythonExtensionBase
 
 class TestIterator(BaseApiTest):
     def test_check(self, space, api):
@@ -63,7 +64,9 @@
         assert 9 == space.unwrap(
             api.PyNumber_InPlacePower(space.wrap(3), space.wrap(2), 
space.w_None))
 
-    def test_PyNumber_Check(self):        
+
+class AppTestCNumber(AppTestCpythonExtensionBase):
+    def test_PyNumber_Check(self):
         mod = self.import_extension('foo', [
             ("test_PyNumber_Check", "METH_VARARGS",
              '''
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to