Merged in famousgarkin/pytest/famousgarkin/monkeypatchchdir-docstring-punctuation-1430453576841 (pull request #288)

monkeypatch.chdir docstring punctuation
This commit is contained in:
holger krekel 2015-05-04 14:28:32 +02:00
commit e4b9603fa8
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@ class monkeypatch:
sys.path.insert(0, str(path))
def chdir(self, path):
""" Change the current working directory to the specified path
path can be a string or a py.path.local object
""" Change the current working directory to the specified path.
Path can be a string or a py.path.local object.
"""
if self._cwd is None:
self._cwd = os.getcwd()