We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0e1ec8 commit ee7c70bCopy full SHA for ee7c70b
nipype/utils/tests/test_config.py
@@ -193,3 +193,9 @@ def test_display_empty_macosx(monkeypatch):
193
monkeypatch.setattr(sys, 'platform', 'darwin')
194
with pytest.raises(RuntimeError):
195
config.get_display()
196
+
197
+def test_cwd_cached(tmpdir):
198
+ """Check that changing dirs does not change nipype's cwd"""
199
+ oldcwd = config.cwd
200
+ tmpdir.chdir()
201
+ assert config.cwd == oldcwd
0 commit comments