79624430

Date: 2025-05-16 03:30:41
Score: 0.5
Natty:
Report link

About the pytest resources, why don't you use this: pytest-resource-path ยท PyPI

pip install pytest-resource-path

Then, you'll be able to code in pytest, like:

def test_method(resource_path_root):
    text_test_resource = (resource_path_root / 'config1.csv').read_text()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yukihiko Shinoda