Skip to content

Commit

Permalink
Fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Jan 11, 2022
1 parent 5cd48ac commit 0af9bba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_miniirc.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def f3(irc, command, hostmask, args):

def test_version():
setup_py = pathlib.Path(__file__).resolve().parent / 'setup.py'
match = re.search(r"version *= '([0-9\.a-z]+)',", setup_py.read_text())
with setup_py.open() as f:
match = re.search(r"version *= '([0-9\.a-z]+)',", f.read())
assert match
assert miniirc.__version__ == match.group(1)

Expand Down

0 comments on commit 0af9bba

Please sign in to comment.