Skip to content

Commit

Permalink
Make test_0packaging.py less strict
Browse files Browse the repository at this point in the history
Now we just ensure that the equals are at least as long as the preceding
line.

Also fix NEWS.rst so the equals are exactly as long as the preceding
line.

[skip ci]
  • Loading branch information
pepoluan committed Feb 18, 2021
1 parent 53d15b5 commit 844e7d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiosmtpd/docs/NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


1.3.1 (2021-02-18)
=====================
==================

Fixed/Improved
==============
Expand Down
3 changes: 2 additions & 1 deletion aiosmtpd/qa/test_0packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def test_NEWS_version(self, aiosmtpd_version):
continue
ln1 = ln1.strip()
ln2 = ln2.strip()
if ln2 != ("=" * len(ln1)):
equals = "=" * len(ln1)
if not ln2.startswith(equals):
continue
break
newsvers = ln1.split()[0]
Expand Down

2 comments on commit 844e7d5

@ddevault
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you be tagging a new point release to address this issue?

@pepoluan
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ddevault yes, tomorrow. Making sure that there's no gremlins left 😅

Please sign in to comment.