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
Running the tests locally seems fine when you run them once, but when running them a second time, test_open_notebook fails with a FileExistsError:
@flaky(max_runs=3)
def test_open_notebook(qtbot):
"""Test that a notebook can be opened from a non-ascii directory."""
# Move the test file to non-ascii directory
test_notebook = osp.join(LOCATION, 'test.ipynb')
test_notebook_non_ascii = osp.join(LOCATION, u'äöüß', 'test.ipynb')
> os.mkdir(os.path.join(LOCATION, u'äöüß'))
E FileExistsError: [Errno 17] File exists: '/home/jitse/misc/spyder-notebook/spyder_notebook/tests/äöüß'
spyder_notebook/tests/test_plugin.py:163: FileExistsError
The first test run creates this file, which interferes with the second test run. This does not affect the CI runs because the CI servers delete the environment after every run.
The text was updated successfully, but these errors were encountered:
Running the tests locally seems fine when you run them once, but when running them a second time,
test_open_notebook
fails with aFileExistsError
:The first test run creates this file, which interferes with the second test run. This does not affect the CI runs because the CI servers delete the environment after every run.
The text was updated successfully, but these errors were encountered: