summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 13:12:13 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 17:15:49 +0900
commit9fc53cecf74fae33ac8509d34eea334ad4193d2b (patch)
tree330d9f4269b752216684512d90cf99ffae7f2d0f /tests/run.py
parent108491d49ea37f8e42ad32242167bc8a00f89cd8 (diff)
downloadsphinx-git-9fc53cecf74fae33ac8509d34eea334ad4193d2b.tar.gz
Reduce deprecation warnings (refs: #3192)
Diffstat (limited to 'tests/run.py')
-rwxr-xr-xtests/run.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run.py b/tests/run.py
index d2d3b9fc8..273b2ee6b 100755
--- a/tests/run.py
+++ b/tests/run.py
@@ -13,6 +13,7 @@ from __future__ import print_function
import os
import sys
+import warnings
import traceback
from path import path
@@ -48,4 +49,8 @@ tempdir.makedirs()
print('Running Sphinx test suite (with Python %s)...' % sys.version.split()[0])
sys.stdout.flush()
+# filter warnings of test dependencies
+warnings.filterwarnings('ignore', category=DeprecationWarning, module='nose.util')
+warnings.filterwarnings('ignore', category=DeprecationWarning, module='site') # virtualenv
+
nose.main(argv=sys.argv)