def ExpectsOne(options):
  def decorate(func):
    func.expectsOne = True
    func.options = options
    return func
  return decorate
Regression test for #479
dataset/ETHPy150Open Sagelt/dungeon-world-codex/monsterrules/common.py/ExpectsOne--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/tests/test_custom_viewer.py/test_custom_classes_dont_share_methods