

def test_upgrading_affect_on_normal_filters(self):
    "max_debug_level 'merge' upgrade does not cause filters with\n        a 'normal' max_debug_value to run. Note: A nested bundle is\n        used here, as otherwise the bundle's debug=True would also\n        override any upgrades through filter `max_debug_value``\n        attributes."
    self.env.debug = True
    f = AppendFilter(':in_upgr', ':out_upgr')
    f.max_debug_level = None
    g = AppendFilter(':in_def', ':out_def')
    self.mkbundle(Bundle('1', filters=(f, self), debug=True), output='out', debug='merge').build()
    assert (self.get('out') == 'foo:in_upgr:out_upgr')

dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py TestMaxDebugLevelFilters.test_upgrading_affect_on_normal_filters/VarMisuse@57/192 `g`->`self`