Rename method for additional clarity.

This commit is contained in:
Jason R. Coombs 2018-02-15 09:17:33 -05:00 committed by GitHub
parent 18c84a1904
commit 435b8ddc7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,10 +105,10 @@ class DoctestItem(pytest.Item):
def runtest(self):
_check_all_skipped(self.dtest)
self._disable_output_capturing()
self._disable_output_capturing_for_darwin()
self.runner.run(self.dtest)
def _disable_output_capturing(self):
def _disable_output_capturing_for_darwin(self):
"""
Disable output capturing. Otherwise, stdout is lost to doctest (#985)
"""