

def test_decreasing_debug_level(self):
    'A child bundle may switch to full production mode (turning on the\n        filters), while the parent is only in merge mode.\n\n        The other debug level change (from True to "merge" or from True to\n        "False" do not concern us here, and are tested in ``TestUrls*``).\n        '
    self.env.debug = 'merge'
    b = b.mkbundle('in1', self.mkbundle('in2', debug=False, filters=AppendFilter(':childin', ':childout')), output='out', debug='merge', filters=AppendFilter(':rootin', ':rootout'))
    b.build()
    assert (self.get('out') == 'A\nB:childin:rootin:childout')

dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py TestBuildWithVariousDebugOptions.test_decreasing_debug_level/VarMisuse@22/145 `self`->`b`