Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2076 from fperez/exclude-static-tests

Skip notebook 'static' dir in test suite.

There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).

Closes #2075
  • Loading branch information...
commit 70ea9a8992045f509c99f5046cf3f48c5c05bce8 2 parents 9964f66 + a1a9034
Min RK minrk authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 IPython/testing/iptest.py
5 IPython/testing/iptest.py
View
@@ -232,6 +232,11 @@ def make_exclude():
ipjoin('lib', 'inputhook'),
# Config files aren't really importable stand-alone
ipjoin('config', 'profile'),
+ # The notebook 'static' directory contains JS, css and other
+ # files for web serving. Occasionally projects may put a .py
+ # file in there (MathJax ships a conf.py), so we might as
+ # well play it safe and skip the whole thing.
+ ipjoin('frontend', 'html', 'notebook', 'static')
]
if not have['sqlite3']:
exclusions.append(ipjoin('core', 'tests', 'test_history'))
Please sign in to comment.
Something went wrong with that request. Please try again.