[lang-ref] ( chdir ) ( python )

def test_chdir(pushd):
    # os.chdir
    os.chdir('/private/tmp')
    assert os.getcwd() == '/private/tmp'