Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
ad4daec1
Unverified
Commit
ad4daec1
authored
Apr 14, 2020
by
Philip Meier
Committed by
GitHub
Apr 14, 2020
Browse files
remove mock (#2096)
parent
9bb43c62
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
5 deletions
+2
-5
.travis.yml
.travis.yml
+0
-1
packaging/torchvision/meta.yaml
packaging/torchvision/meta.yaml
+0
-1
packaging/windows/internal/test.bat
packaging/windows/internal/test.bat
+1
-1
test/test_datasets.py
test/test_datasets.py
+1
-1
test/test_transforms.py
test/test_transforms.py
+0
-1
No files found.
.travis.yml
View file @
ad4daec1
...
@@ -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
...
...
packaging/torchvision/meta.yaml
View file @
ad4daec1
...
@@ -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')
}}
...
...
packaging/windows/internal/test.bat
View file @
ad4daec1
...
@@ -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
"
...
...
test/test_datasets.py
View file @
ad4daec1
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
...
...
test/test_transforms.py
View file @
ad4daec1
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment