tool/test/test_ansi_print.py::test_dot_mixing_with_regular_lines
def test_dot_mixing_with_regular_lines():
log = ansi_print.AnsiLogger('test')
> with FakeOutput() as output:
tool/test/test_ansi_print.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_ansi_print.FakeOutput object at 0x7f5b01debb10>, 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_dot_mixing_with_regular_lines