You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__________ ERROR at setup of test_hook_register_routes_render_message __________
[gw0] linux -- Python 3.8.10 /opt/hostedtoolcache/Python/3.8.10/x64/bin/python
tmpdir = local('/tmp/pytest-of-runner/pytest-0/popen-gw0/test_hook_register_routes_rend0')
request = <SubRequest 'restore_working_directory' for <Function test_hook_register_routes_render_message>>
@pytest.fixture
def restore_working_directory(tmpdir, request):
> previous_cwd = os.getcwd()
E FileNotFoundError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered:
The answer was that os.chdir() had been set to the deleted directory by accident. The directory was missing, but the error happened (it seems) at the attempt to get it with os.getcwd().
e.g. in https://github.com/simonw/datasette/runs/2754772233 - this is an intermittent error:
The text was updated successfully, but these errors were encountered: