Skip to content

Exception caused when a StreamHandler uses a mocked stream. #2

Description

@exhuma
Traceback (most recent call last):
 File "/home/users/olivier/devel/auditorium/auditorium/main.py", line 155, in main
   setup_logging(args)
 File "/home/users/olivier/devel/auditorium/auditorium/main.py", line 84, in setup_logging
   Simple.basicConfig(level=logging.DEBUG)
 File "/home/users/olivier/devel/auditorium/env/lib/python3.5/site-packages/gouge/colourcli.py", line 25, in basicConfig
   handler.stream.name in ('<stderr>', '<stdout>')):
AttributeError: '_io.StringIO' object has no attribute 'name'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions