Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Apr 15, 2024
1 parent 41552ed commit c7dc064
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,5 @@ models/.locks/*
models/*.joblib
models/*/*
models/*.gguf
ragger_duck/embedding/tests/data/.locks/*
ragger_duck/embedding/tests/data/models--sentence-transformers--paraphrase-albert-small-v2/*
4 changes: 2 additions & 2 deletions ragger_duck/scraping/tests/test_api_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test__extract_function_doc_numpydoc_function():
)
# The following assert is manually checked. If scikit-learn modify the docstring
# then we might be in trouble.
assert len(extracted_doc) == 7
assert 5 < len(extracted_doc) < 9
for doc in extracted_doc:
assert isinstance(doc, dict)
assert doc["source"] == url_source
Expand Down Expand Up @@ -80,7 +80,7 @@ def test__extract_function_doc_numpydoc_class():
)
# The following assert is manually checked. If scikit-learn modify the docstring
# then we might be in trouble.
assert len(extracted_doc) == 34
assert 32 < len(extracted_doc) < 38
for doc in extracted_doc:
assert isinstance(doc, dict)
assert doc["source"] == url_source

0 comments on commit c7dc064

Please sign in to comment.