

def test_building_in_debug_mode(self):
    'When calling build() while we are in debug mode (debug=False),\n        the method builds as if in production mode (debug=False).\n\n        This is a question of API design: If the user calls the method, the\n        expectation is clearly for something useful to happen.\n        '
    b.env.debug = True
    b = self.mkbundle('in1', 'in2', output='out', filters=AppendFilter('foo'))
    b.build()
    assert (self.get('out') == 'Afoo\nBfoo')

dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py TestBuildWithVariousDebugOptions.test_building_in_debug_mode/VarMisuse@12/122 `self`->`b`