mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-19 14:28:14 +00:00
Chore: switch from os.path to pathlib.Path (#10539)
This commit is contained in:
1 parent
cc621cf729
commit
d2064a2535
11 files changed
+151
-165
No files matched your search
@@ -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