Skip to content

Commit c9d3230

Browse files
committed
test: add warnings tests
1 parent e34bb28 commit c9d3230

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ adheres to [Semantic Versioning](https://semver.org/).
1414
- Allow to `seek` past the end of the fileobj
1515
- Calling `len` on a fileobj gives its length, and `bool` tells if it is empty
1616

17+
### :house: Internal
18+
19+
- Test that no warnings are generated
20+
1721
## [0.1.2] - 2021-09-19
1822

1923
[0.1.2]: https://github.com/rogdham/python-xz/releases/tag/v0.1.2

pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
addopts =
33
--cov
44
--strict-markers
5+
filterwarnings =
6+
error
7+
# issue in standard lib for Python 3.7.12[pypy-7.3.6-final]
8+
ignore:Using or importing the ABCs from 'collections':DeprecationWarning:_lzma
59
markers =
610
generate_integration_files
711
integration

0 commit comments

Comments
 (0)