Skip to content

Conversation

@ymilki
Copy link
Member

@ymilki ymilki commented Nov 17, 2023

Problem

This test was updated in #165 but the assertion truncated the full path to the resource.
Furthermore, importlib.resources.files and importlib.resources.as_file were introduced in py39 and require a backport for older python.

Solution

  • Update test with the additional resource name
  • Use importlib_resources when required

* Test is expecting the full path to the resource
* `importlib.resources.files` and `importlib.resources.as_file` were
  added in py39
@ymilki ymilki marked this pull request as ready for review November 18, 2023 00:02
@ymilki ymilki requested review from benbariteau and kaisen November 18, 2023 00:02
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 this pull request may close these issues.

2 participants