def test_cannot_increase_debug_level(self):

        self.env.debug = True      # Start with highest level
        self.env.updater = False   # Always rebuild

        # False to True has no effect
        self.mkbundle('in1', self.mkbundle('in2', debug=True),
                      output='out', debug=False).build()
        assert self.get('out') == 'A\nB'

        # "merge" to True has no effect
        self.mkbundle(
            'in1', self.mkbundle('in2', debug=True),
            output='out', debug='merge', filters=AppendFilter('_')).build()
        assert self.get('out') == 'A\nB'

        # False to "merge" has no effect
        self.mkbundle(
            'in1', self.mkbundle('in2', debug='merge',
                                 filters=AppendFilter('_')),
            output='out', debug=False).build()
        assert self.get('out') == 'A\nB_'
Child bundles cannot increase the debug level.
dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py/TestBuildWithVariousDebugOptions.test_cannot_increase_debug_level