There are several tests that do not assert anything:
cpython/Lib/test/test_lzma.py
Lines 539 to 547 in 9649278
Lines 574 to 594 in 9649278
I propose to assert the context manager type and the mode. I have a PR ready.
pythongh-131219: Improve tests in `test_lzma.py` by adding more asserts
gh-131219: Improve tests in `test_lzma.py` by adding more asserts (#1…
pythongh-131219: Improve tests in `test_lzma.py` by adding more asser…
[3.13] gh-131219: Improve tests in `test_lzma.py` by adding more asse…
[3.12] pythongh-131219: Improve tests in `test_lzma.py` by adding mor…
[3.12] gh-131219: Improve tests in `test_lzma.py` by adding more asse…
Activity
pythongh-131219: Improve tests in `test_lzma.py` by adding more asserts
gh-131219: Improve tests in `test_lzma.py` by adding more asserts (#1…
pythongh-131219: Improve tests in `test_lzma.py` by adding more asser…
[3.13] gh-131219: Improve tests in `test_lzma.py` by adding more asse…
[3.12] pythongh-131219: Improve tests in `test_lzma.py` by adding mor…
[3.12] gh-131219: Improve tests in `test_lzma.py` by adding more asse…
[3.12] pythongh-131219: Improve tests in `test_lzma.py` by adding mor…
pythongh-131219: Improve tests in `test_lzma.py` by adding more asser…