summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-17 15:59:13 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-17 15:59:13 +0900
commitab00f5fe49f57d4ee8bc25127db9b12fbed4f54f (patch)
treeedb2d68140b3e920cfff7fe663019612ab47a1c7 /tests/run.py
parentb1e4036640b5d2290674e1a04f957f015d89f62d (diff)
parent7b3327234dc1f4385c175d29c68be430bba4c8f5 (diff)
downloadsphinx-git-ab00f5fe49f57d4ee8bc25127db9b12fbed4f54f.tar.gz
Merge branch 'stable'
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)