Skip to content

Commit bc3b97b

Browse files
committed
Replace Travis CI shield with GitHub actions shield
1 parent 3ca7965 commit bc3b97b

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
1-
Python Asserts
2-
==============
1+
# Python Asserts
32

43
[![License](https://img.shields.io/pypi/l/asserts.svg)](https://pypi.python.org/pypi/asserts/)
54
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asserts)](https://pypi.python.org/pypi/asserts/)
65
[![GitHub](https://img.shields.io/github/release/srittau/python-asserts/all.svg)](https://github.com/srittau/python-asserts/releases/)
76
[![pypi](https://img.shields.io/pypi/v/asserts.svg)](https://pypi.python.org/pypi/asserts/)
8-
[![Travis CI](https://travis-ci.org/srittau/python-asserts.svg?branch=master)](https://travis-ci.org/srittau/python-asserts)
7+
[![GitHub Actions](https://img.shields.io/github/workflow/status/srittau/python-asserts/Test%20and%20lint)](https://github.com/srittau/python-asserts/actions/workflows/test-and-lint.yml)
98

109
Stand-alone Assertions for Python
1110

1211
This package provides a few advantages over the assertions provided by
1312
unittest.TestCase:
1413

15-
* Can be used stand-alone, for example:
16-
* In test cases, not derived from TestCase.
17-
* In fake and mock classes.
18-
* In implementations as rich alternative to the assert statement.
19-
* PEP 8 compliance.
20-
* Custom stand-alone assertions can be written easily.
21-
* Arguably a better separation of concerns, since TestCase is responsible
14+
- Can be used stand-alone, for example:
15+
- In test cases, not derived from TestCase.
16+
- In fake and mock classes.
17+
- In implementations as rich alternative to the assert statement.
18+
- PEP 8 compliance.
19+
- Custom stand-alone assertions can be written easily.
20+
- Arguably a better separation of concerns, since TestCase is responsible
2221
for test running only, if assertion functions are used exclusively.
2322

2423
There are a few regressions compared to assertions from TestCase:
2524

26-
* The default assertion class (`AssertionError`) can not be overwritten. This
25+
- The default assertion class (`AssertionError`) can not be overwritten. This
2726
is rarely a problem in practice.
28-
* asserts does not support the `addTypeEqualityFunc()` functionality.
27+
- asserts does not support the `addTypeEqualityFunc()` functionality.
2928

3029
Usage:
3130

0 commit comments

Comments
 (0)