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 test suite on FreeBSD #842

Merged
merged 3 commits into from Sep 18, 2021
Merged

Commits on Sep 18, 2021

  1. Restore previous behavior of "absolute_path()"

    The function `absolute_path` that was provided by "pathtools" was redefined and now gives a "Path" object back as return value.
    
    However, this leads to assertion errors when executing the test suite on FreeBSD, because there are now discrepancies between "PosixPath('/some/dir')" and "'/some/dir'".
    
    Thus restore the original return value of "absolute_path" as is was done by "pathtools".  See also:
    
    https://pythonhosted.org/pathtools/_modules/pathtools/path.html#absolute_path
    knobix committed Sep 18, 2021
    Copy the full SHA
    7b9c8ad View commit details
    Browse the repository at this point in the history
  2. Skip two checks for BSD

    * Test "test_delete_self()" was tested only on Darwin platforms with release 0.10.6
    * Test "file_lifecyle" was introduced in the 2.0.0 release
    knobix committed Sep 18, 2021
    Copy the full SHA
    900477f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    4cc2617 View commit details
    Browse the repository at this point in the history