mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
io under py3
This commit is contained in:
parent
0d0d5d84b5
commit
b97f9f542d
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
|||
import unittest
|
||||
import sys
|
||||
from StringIO import StringIO
|
||||
try:
|
||||
from StringIO import StringIO
|
||||
except ImportError:
|
||||
from io import StringIO
|
||||
|
||||
from flake8.mccabe import get_code_complexity
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue