1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Normalize imports

This commit is contained in:
Alex Gaynor 2017-03-26 11:18:29 -04:00
parent ef7db41728
commit 96713c35a8

View file

@ -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: