Author skrah
Recipients Robin.Schreiber, ezio.melotti, loewis, mark.dickinson, mrabarnett, pitrou, rhettinger, skrah
Date 2012-08-19.09:40:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20120819094014.GA21864@sleipnir.bytereef.org>
In-reply-to <1345364452.42.0.0368206324844.issue15722@psf.upfronthosting.co.za>
Content
> What specific decimal test is failing?

# Attributes cannot be deleted
    for attr in ['prec', 'Emax', 'Emin', 'rounding', 'capitals', 'clamp',
                 'flags', 'traps']:
        self.assertRaises(AttributeError, c.__delattr__, attr)

test test_decimal failed -- Traceback (most recent call last):
  File "/home/stefan/pydev/pep-3121-cpython/Lib/test/test_decimal.py", line 3683, in test_invalid_context
    self.assertRaises(AttributeError, c.__delattr__, attr)
  File "/home/stefan/pydev/pep-3121-cpython/Lib/unittest/case.py", line 571, in assertRaises
    return context.handle('assertRaises', callableObj, args, kwargs)
  File "/home/stefan/pydev/pep-3121-cpython/Lib/unittest/case.py", line 135, in handle
    callable_obj(*args, **kwargs)
TypeError: can't apply this __delattr__ to object object

1 test failed:
    test_decimal
History
Date User Action Args
2012-08-19 09:40:17skrahsetrecipients: + skrah, loewis, rhettinger, mark.dickinson, pitrou, ezio.melotti, mrabarnett, Robin.Schreiber
2012-08-19 09:40:13skrahlinkissue15722 messages
2012-08-19 09:40:13skrahcreate