mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-07-19 10:24:57 +00:00
Chore: switch from os.path to pathlib.Path (#10539)
This commit is contained in:
@@ -654,7 +654,7 @@ class TestClassifier(DirectoriesMixin, TestCase):
|
||||
},
|
||||
)
|
||||
@override_settings(
|
||||
MODEL_FILE=(Path(__file__).parent / "data" / "model.pickle").as_posix(),
|
||||
MODEL_FILE=str(Path(__file__).parent / "data" / "model.pickle"),
|
||||
)
|
||||
@pytest.mark.skip(
|
||||
reason="Disabled caching due to high memory usage - need to investigate.",
|
||||
|
||||
Reference in New Issue
Block a user