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