mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Normalize imports
This commit is contained in:
parent
ef7db41728
commit
96713c35a8
1 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,11 @@
|
|||
import io
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
import pip
|
||||
from pip.utils import appdirs
|
||||
|
||||
from tests.lib import SRC_DIR, TestData
|
||||
|
@ -196,11 +199,6 @@ class InMemoryPipResult(object):
|
|||
|
||||
class InMemoryPip(object):
|
||||
def pip(self, *args):
|
||||
import io
|
||||
import sys
|
||||
|
||||
import pip
|
||||
|
||||
orig_stdout = sys.stdout
|
||||
sys.stdout = stdout = io.BytesIO()
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue