Unverified Commit ad4daec1 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

remove mock (#2096)

parent 9bb43c62
......@@ -25,7 +25,6 @@ before_install:
fi
- pip install future
- pip install pytest pytest-cov codecov
- pip install mock
- pip install typing
- |
if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
......
......@@ -43,7 +43,6 @@ test:
requires:
- pytest
- scipy
- mock
- av
- ca-certificates
{{ environ.get('CONDA_TYPING_CONSTRAINT') }}
......
......@@ -8,7 +8,7 @@ set PYTHON_VERSION=%PYTHON_PREFIX:py=cp%
if "%BUILD_VISION%" == "" (
pip install future pytest coverage hypothesis protobuf
) ELSE (
pip install future pytest "pillow>=4.1.1" mock
pip install future pytest "pillow>=4.1.1"
)
for /F "delims=" %%i in ('where /R %SRC_DIR%\output *%MODULE_NAME%*%PYTHON_VERSION%*.whl') do pip install "%%i"
......
import sys
import os
import unittest
import mock
from unittest import mock
import numpy as np
import PIL
from PIL import Image
......
import os
import mock
import torch
import torchvision.transforms as transforms
import torchvision.transforms.functional as F
......
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