remove an unused callback in test
This commit is contained in:
parent
20fe56e03d
commit
7cd44d6886
2 changed files with 4 additions and 1 deletions
|
@ -222,7 +222,7 @@ def test_disabled_with_group():
|
|||
|
||||
def make_description_callback():
|
||||
gcoption = ChoiceOption('name', 'GC name', ('ref', 'framework'), 'ref')
|
||||
gcdummy = BoolOption('dummy', 'dummy', callback="toto")
|
||||
gcdummy = BoolOption('dummy', 'dummy')
|
||||
objspaceoption = ChoiceOption('objspace', 'Object space',
|
||||
('std', 'thunk'), 'std')
|
||||
booloption = BoolOption('bool', 'Test boolean option', default=True)
|
||||
|
|
|
@ -79,6 +79,9 @@ class Values(object):
|
|||
def __getitem__(self, opt):
|
||||
return self.getitem(opt)
|
||||
|
||||
def get_modified_values(self):
|
||||
return self._values
|
||||
|
||||
def getitem(self, opt, validate=True, force_permissive=False,
|
||||
force_properties=None):
|
||||
if opt in self._cache:
|
||||
|
|
Loading…
Reference in a new issue