monkeypatch.chdir docstring punctuation
--HG-- branch : famousgarkin/monkeypatchchdir-docstring-punctuation-1430453576841
This commit is contained in:
parent
aa2ffb9805
commit
47936643c9
|
@ -177,8 +177,8 @@ class monkeypatch:
|
||||||
sys.path.insert(0, str(path))
|
sys.path.insert(0, str(path))
|
||||||
|
|
||||||
def chdir(self, path):
|
def chdir(self, path):
|
||||||
""" Change the current working directory to the specified path
|
""" Change the current working directory to the specified path.
|
||||||
path can be a string or a py.path.local object
|
Path can be a string or a py.path.local object.
|
||||||
"""
|
"""
|
||||||
if self._cwd is None:
|
if self._cwd is None:
|
||||||
self._cwd = os.getcwd()
|
self._cwd = os.getcwd()
|
||||||
|
|
Loading…
Reference in New Issue