Skip to content

Commit

Permalink
drop unittest, switch to pytest (#169)
Browse files Browse the repository at this point in the history
* drop unittest, switch to pytest

* fix cov miss
  • Loading branch information
wimglenn authored Nov 25, 2023
1 parent a2e1334 commit cd0c3c2
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 251 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
pip install -r tests/requirements.txt --editable .
pytest
- name: Upload coverage to Codecov
uses: "codecov/codecov-action@v3"
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

tests-27:
name: "Python 2.7 on ubuntu-20.04"
name: Python 2.7 on ubuntu-20.04
runs-on: ubuntu-20.04
container:
image: python:2.7-buster
Expand All @@ -47,6 +47,6 @@ jobs:
pip install -r tests/requirements.txt
python -m pytest
- name: Upload coverage to Codecov
uses: "codecov/codecov-action@v3"
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ tt Time time
The type can also be a datetime format string, following the
`1989 C standard format codes`_, e.g. ``%Y-%m-%d``. Depending on the
directives contained in the format string, parsed output may be an instance
``datetime.datetime``, ``datetime.time``, or ``datetime.date``.
of ``datetime.datetime``, ``datetime.time``, or ``datetime.date``.

.. code-block:: pycon
Expand Down
Loading

0 comments on commit cd0c3c2

Please sign in to comment.