Skip to content

AttributeError: 'Bunch' object attribute 'values' is read-only #21

@femtotrader

Description

@femtotrader

I took most recent fork
https://github.com/redodo/lunch/
and fork it https://github.com/femtotrader/lunch/
to add CI

https://travis-ci.org/femtotrader/lunch

I saw this with Python 3.3:
AttributeError: 'Bunch' object attribute 'values' is read-only

Any idea ?

0.11s$ python tests/test_bunch.py


File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/bunch/init.py", line 163, in bunch.Bunch.delattr
Failed example:
del b.values
Expected:
Traceback (most recent call last):
...
AttributeError: 'Bunch' object attribute 'values' is read-only
Got:
Traceback (most recent call last):
File "/opt/python/3.3.5/lib/python3.3/doctest.py", line 1313, in run
compileflags, 1), test.globs)
File "<doctest bunch.Bunch.__delattr
[1]>", line 1, in
del b.values
File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/bunch/init.py", line 182, in delattr
object.delattr(self, k)
AttributeError: values


1 items had failures:
1 of 4 in bunch.Bunch.delattr
_Test Failed_ 1 failures.
The command "python tests/test_bunch.py" exited with 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions