tool/test/test_ansi_print.py::test_output_disabled
def test_output_disabled():
log = ansi_print.AnsiLogger('test')
> with FakeOutput() as output:
tool/test/test_ansi_print.py:93:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_ansi_print.FakeOutput object at 0x7f5b01df1210>, args = ()
def __enter__(self, *args):
ansi_print.wrote_dot = False
> self.monkey.setattr(ansi_print, 'ansi_print', self._print)
E AttributeError: 'generator' object has no attribute 'setattr'
tool/test/test_ansi_print.py:12: AttributeError
builder: rpython-linux-x86-64 build #887
test: tool/test/test_ansi_print/py/test_output_disabled