Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
idanpa committed Jul 3, 2024
1 parent 98851e3 commit 4985467
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions calcpy/tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def test_output(ip, capsys):
run_flow(ip)
captured = capsys.readouterr()
with open(OUTPUT_FILE_PATH, 'r', encoding='utf-8') as f:
assert f.read() == captured.out, \
assert captured.out == f.read(), \
r'output mismatch, regenerate output by `python calcpy\tests\test_output.py`'
assert '' == captured.err
assert captured.err == ''

if __name__ == '__main__':
import os
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import setuptools
from pathlib import Path
import os

setuptools.setup(
name='calcpy',
Expand All @@ -28,8 +27,8 @@
'dateparser',
'antlr4-python3-runtime==4.11', # todo: move to Lark when sympy supports it
],
use_scm_version={'fallback_version':'0.0.0'},
setup_requires=['setuptools_scm', 'ipython'], #TODO: move to pyproject.toml
use_scm_version={'fallback_version':'0.0'},
setup_requires=['setuptools_scm'],
license='MIT License',
zip_safe=False,
keywords=['calculator',],
Expand Down

0 comments on commit 4985467

Please sign in to comment.