Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Un-pickle and re-pickle the test models to resolve the version difference warning

Trenton Holmes9bb5568d8e86
diff --git a/src/documents/classifier.py b/src/documents/classifier.py
index 9c899cdd8..be2256297 100644
--- a/src/documents/classifier.py
+++ b/src/documents/classifier.py
@@ -59,6 +59,7 @@ def load_classifier():
class DocumentClassifier(object):
+ # v7 - Updated scikit-learn package version
FORMAT_VERSION = 7
def __init__(self):
diff --git a/src/documents/tests/data/model.pickle b/src/documents/tests/data/model.pickle
index 70cb62aa2..e097bda06 100644
Binary files a/src/documents/tests/data/model.pickle and b/src/documents/tests/data/model.pickle differ