Skip to content

Fix deprecation warnings in tests #9

Description

@shuttle1987
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'))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions