[Python-Dev] Re: Newish test failures
Fredrik Lundh
fredrik at pythonware.com
Wed Apr 20 20:32:27 CEST 2005
> File "C:\Code\python\lib\test\test_csv.py", line 58, in _test_default_attrs
> self.assertRaises(TypeError, delattr, obj.dialect, 'quoting')
> File "C:\Code\python\lib\unittest.py", line 320, in failUnlessRaises
> callableObj(*args, **kwargs)
> AttributeError: attribute 'quoting' of '_csv.Dialect' objects is not writable
looks like someone didn't run the test suite...
From: bwarsaw at users.sourceforge.net
Subject: python/dist/src/Objects descrobject.c,2.38,2.39
...
As per discussion on python-dev, descriptors defined in C with a NULL setter
now raise AttributeError instead of TypeError, for consistency with their
pure-Python equivalent.
...
</F>
More information about the Python-Dev
mailing list