Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation warnings in tests #9

Open
shuttle1987 opened this issue Nov 11, 2018 · 0 comments · May be fixed by #13
Open

Fix deprecation warnings in tests #9

shuttle1987 opened this issue Nov 11, 2018 · 0 comments · May be fixed by #13

Comments

@shuttle1987
Copy link
Member

mmap_backed_array/tests/test_array.py::TestArray::()::test_ctor_basic
  /home/travis/build/JaggedVerge/mmap_backed_array/mmap_backed_array/tests/test_array.py:551: RemovedInPytest4Warning: pytest/tmpdir_factory.ensuretemp is deprecated, 
  please use the tmp_path fixture or tmp_path_factory.mktemp
    cls.tempfile = str(py.test.ensuretemp('mmaparray').join('tmpfile'))
mmap_backed_array/tests/test_mmap_backed_array.py::TestMmap::()::test_create_file
  /home/travis/build/JaggedVerge/mmap_backed_array/mmap_backed_array/tests/test_mmap_backed_array.py:11: RemovedInPytest4Warning: pytest/tmpdir_factory.ensuretemp is deprecated, 
  please use the tmp_path fixture or tmp_path_factory.mktemp
    cls.temp_file = str(pytest.ensuretemp('tempfiles').join('table.dat'))
mmap_backed_array/tests/test_mmap_backed_array.py::Test_mmaparray::()::test_too_many_args
  /home/travis/build/JaggedVerge/mmap_backed_array/mmap_backed_array/tests/test_mmap_backed_array.py:82: RemovedInPytest4Warning: pytest/tmpdir_factory.ensuretemp is deprecated, 
  please use the tmp_path fixture or tmp_path_factory.mktemp
    cls.tempfile = str(pytest.ensuretemp('mmaparray').join('tmpfile'))
@shuttle1987 shuttle1987 linked a pull request Feb 18, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant