Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af6c607

Browse filesBrowse files
committed
correct current skipping of pep8 tests for nose test discovery
1 parent de8a919 commit af6c607
Copy full SHA for af6c607

File tree

Expand file treeCollapse file tree

1 file changed

+8
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-5
lines changed

‎lib/matplotlib/tests/test_coding_standards.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_coding_standards.py
+8-5Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ def get_file_results(self):
188188
return self.file_errors
189189

190190

191-
def test_pep8_conformance(module=matplotlib, exclude_files=EXCLUDE_FILES,
192-
extra_exclude_file=EXTRA_EXCLUDE_FILE,
193-
pep8_additional_ignore=PEP8_ADDITIONAL_IGNORE):
191+
def assert_pep8_conformance(module=matplotlib, exclude_files=EXCLUDE_FILES,
192+
extra_exclude_file=EXTRA_EXCLUDE_FILE,
193+
pep8_additional_ignore=PEP8_ADDITIONAL_IGNORE):
194194
"""
195195
Tests the matplotlib codebase against the "pep8" tool.
196196
@@ -246,8 +246,11 @@ def test_pep8_conformance(module=matplotlib, exclude_files=EXCLUDE_FILES,
246246
'{}'.format('\n '.join(unexpectedly_good)))
247247

248248

249+
## Temporarily disabling test
250+
#def test_pep8_conformance():
251+
# assert_pep8_conformance()
252+
253+
249254
if __name__ == '__main__':
250255
import nose
251-
# Temporarily disabling test
252-
raise nose.SkipTest('Test is disabled in the code')
253256
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.