Skip to content

Commit

Permalink
rfctr(doc): spruce up test_doc.py
Browse files Browse the repository at this point in the history
- Remove redundant DOCX -> DOC file conversions on most tests.
- Add type annotations to type-check clean on strict mode.
- Improve test names.
- Simplify tests where possible.
- Remove one duplicated test

Speed was roughly doubled: 24 tests in 20s -> 23 tests in 8s.
  • Loading branch information
scanny committed May 15, 2024
1 parent b1b8eae commit 1e96325
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 213 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.13.8-dev9
## 0.13.8-dev10

### Enhancements

Expand Down
Binary file added example-docs/simple.doc
Binary file not shown.
Binary file added example-docs/simple.docx
Binary file not shown.
Loading

0 comments on commit 1e96325

Please sign in to comment.