Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6dfce97

Browse files
committed
remove html test group
1 parent e91b921 commit 6dfce97

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

IPython/testing/iptest.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ def test_for(item, min_version=None, callback=extract_version):
142142

143143
test_group_names = ['core',
144144
'extensions', 'lib', 'terminal', 'testing', 'utils',
145-
'html',
146145
]
147146

148147
class TestSection(object):
@@ -165,12 +164,8 @@ def requires(self, *packages):
165164
def will_run(self):
166165
return self.enabled and all(have[p] for p in self.dependencies)
167166

168-
shims = {
169-
'html': 'jupyter_notebook',
170-
}
171-
172167
# Name -> (include, exclude, dependencies_met)
173-
test_sections = {n:TestSection(n, [shims.get(n, 'IPython.%s' % n)]) for n in test_group_names}
168+
test_sections = {n:TestSection(n, ['IPython.%s' % n]) for n in test_group_names}
174169

175170

176171
# Exclusions and dependencies
@@ -224,20 +219,6 @@ def will_run(self):
224219
['IPython.extensions.autoreload', 'IPython.extensions.tests.test_autoreload'])
225220
test_group_names.append('autoreload')
226221

227-
# html:
228-
sec = test_sections['html']
229-
sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema')
230-
# The notebook 'static' directory contains JS, css and other
231-
# files for web serving. Occasionally projects may put a .py
232-
# file in there (MathJax ships a conf.py), so we might as
233-
# well play it safe and skip the whole thing.
234-
sec.exclude('static')
235-
sec.exclude('tasks')
236-
if not have['jinja2']:
237-
sec.exclude('notebookapp')
238-
if not have['terminado']:
239-
sec.exclude('terminal')
240-
241222

242223
#-----------------------------------------------------------------------------
243224
# Functions and classes

0 commit comments

Comments
 (0)