Commit 16e452a4 authored by Frédéric Chapoton's avatar Frédéric Chapoton Committed by Paul Ganssle

Remove duplicate import io (#1713)

Found by lgtm
parent 0483cca4
......@@ -1103,7 +1103,6 @@ class Distribution(_Distribution):
return _Distribution.handle_display_options(self, option_order)
# Stdout may be StringIO (e.g. in tests)
import io
if not isinstance(sys.stdout, io.TextIOWrapper):
return _Distribution.handle_display_options(self, option_order)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment