pip install --index-url https://test.pypi.org/simple/ math-kor
>>> from math_kor.basic import 더하기
>>> 더하기(1,2)
3
-
Setup development environment
cd ~/PROJECT/PATH virtualenv -p python3 .venv source .venv/bin/activate pip install -r requirements
-
Use doctest
python -m doctest math_kor/basic.py
-
Run unittest
pytest
python -m unittest discover tests -p test*.py