From 99f53d2ac16cb6d7666c75e53bf443c857348b06 Mon Sep 17 00:00:00 2001 From: Kai Chen Date: Mon, 8 Oct 2018 21:28:14 +0800 Subject: [PATCH] fix tests --- mmcv/__init__.py | 2 +- setup.cfg | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mmcv/__init__.py b/mmcv/__init__.py index e72b3986b..796b1defe 100644 --- a/mmcv/__init__.py +++ b/mmcv/__init__.py @@ -8,6 +8,6 @@ from .video import * from .visualization import * from .version import __version__ # The following modules are not imported to this level, so mmcv may be used -# without PyTorch: +# without PyTorch. # - runner # - parallel diff --git a/setup.cfg b/setup.cfg index 78619037b..064ae57a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,4 +2,7 @@ universal=1 [aliases] -test=pytest \ No newline at end of file +test=pytest + +[tool:pytest] +addopts=tests/ \ No newline at end of file