[pypy-issue] [issue846] TypeError: type 'basestring' is not an acceptable base class
Amaury Forgeot d Arc
tracker at bugs.pypy.org
Mon Oct 3 16:32:57 CEST 2011
Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
Since you modified pypy/objspace/std/basestring.py, tests should go in a new
file pypy/objspace/std/test/test_basestring.py.
Look at test_stringobject.py, in AppTestStringObject there is already a
test_subclass() which tests a subclass of str.
Run the tests with:
./test_all.py objspace/std/test/test_basestring.py
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue846>
________________________________________
More information about the pypy-issue
mailing list