Skip to content
Snippets Groups Projects
Commit 0d03ab46 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

fix deprecated API

parent 02ef6025
Branches
Tags
No related merge requests found
Pipeline #55588 passed
......@@ -117,8 +117,8 @@ package-z
def test_find_packages():
# tests the find-packages command inside the bob.extension package
basedir = pkg_resources.resource_filename('bob.extension', '..')
packages = find_packages(os.path.abspath(basedir))
basedir = pkg_resources.resource_filename('bob.extension', ".")
packages = find_packages(os.path.abspath(os.path.join(basedir, "..")))
site_packages = os.path.dirname(os.path.commonprefix(packages))
packages = [os.path.relpath(k, site_packages) for k in packages]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment