diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-31 12:10:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 12:10:08 -0500 |
commit | 30198ee6d5642f3aa036a3bbb37bb129c3c793e6 (patch) | |
tree | 88aae5e2e09dc2eec1103af6b2ddd3dc9f435139 /tests/test_python.py | |
parent | 4fc64a97ce779c2d6bb972f0003b9b9f00e62c3a (diff) | |
parent | bf29fdcf295b32e88a7407c244a5c703f0499ca9 (diff) | |
download | python-coveragepy-git-30198ee6d5642f3aa036a3bbb37bb129c3c793e6.tar.gz |
Merge pull request #1111 from nedbat/nedbat/unittest2pytest
Use unittest2pytest to convert assertions
Diffstat (limited to 'tests/test_python.py')
-rw-r--r-- | tests/test_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_python.py b/tests/test_python.py index 441ef499..0175f5af 100644 --- a/tests/test_python.py +++ b/tests/test_python.py @@ -28,7 +28,7 @@ class GetZipBytesTest(CoverageTest): filename = filename.replace("/", os.sep) zip_data = get_zip_bytes(filename) zip_text = zip_data.decode(encoding) - self.assertIn('All OK', zip_text) + assert 'All OK' in zip_text # Run the code to see that we really got it encoded properly. __import__("encoded_"+encoding) |