def map(self, style, query_opt=None, **kw):
        if query_opt is not None:
            return _list_from_statespec(self.tk.splitlist(
                self.tk.call(self._name, "map", style, '-%s' % query_opt)))

        return _splitdict(
            self.tk,
            self.tk.call(self._name, "map", style, *_format_mapdict(kw)),
            conv=_tclobj_to_py)
Test exception Bundle.build() throws if debug is an invalid value.
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/lib-tk/ttk.py/Style.map--crossover with--dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py/TestBuildWithVariousDebugOptions.test_invalid_debug_value