Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aandres committed Sep 19, 2023
1 parent 7f6b1cf commit cc52ae6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_readme_and_index_same():
readme_content = fp.read()

with index.open() as fp:
index_content = fp.read()
# Skip first and last line
index_content = "".join(fp.readlines()[1:-1])

assert index_content in readme_content

0 comments on commit cc52ae6

Please sign in to comment.