diff --git a/tests/test_sessions.py b/tests/test_sessions.py index f5683774..f59c36a0 100644 --- a/tests/test_sessions.py +++ b/tests/test_sessions.py @@ -180,8 +180,8 @@ class TestSession(SessionTestBase): # https://github.com/jkbrzt/httpie/issues/412 self.start_session(httpbin) cwd = os.getcwd() + os.chdir(gettempdir()) try: - os.chdir(gettempdir()) http('--session=test', '--download', httpbin.url + '/get', env=self.env()) finally: