summaryrefslogtreecommitdiff
path: root/tests/test_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_python.py')
-rw-r--r--tests/test_python.py2
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)