summaryrefslogtreecommitdiff
path: root/logilab/common/pytest.py
diff options
context:
space:
mode:
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>2019-09-12 16:25:16 +0200
committerPhilippe Pepiot <philippe.pepiot@logilab.fr>2019-09-12 16:25:16 +0200
commitbd0b147cea7f916a3ceffcba11b15429a31d4264 (patch)
tree2f4719bb8529f0270f07918a7496edfe1cf622c6 /logilab/common/pytest.py
parent43fa2a92f8d8538a75ebbc56196ae8c068837211 (diff)
downloadlogilab-common-bd0b147cea7f916a3ceffcba11b15429a31d4264.tar.gz
Make "configuration" classes get call __getitem__
In both ConfigurationMixIn and OptionsManager2ConfigurationAdapter. Otherwise a child-class defining it's own __getitem__ wouldn't be called. In ConfigurationMixIn.get, also catch for OptionError like before. We could think about caching OptionError in __getitem__ but there's test asserting this method can raise OptionError, so...
Diffstat (limited to 'logilab/common/pytest.py')
0 files changed, 0 insertions, 0 deletions