Author: Julian Berman <julian...@grayvines.com>
Branch: zlib-copying-redux
Changeset: r95859:ab1d3b141472
Date: 2019-02-06 11:18 +0100
http://bitbucket.org/pypy/pypy/changeset/ab1d3b141472/

Log:    Skip the tests that need to rpython-munge when we run app-level.

diff --git a/pypy/module/zlib/test/test_zlib.py 
b/pypy/module/zlib/test/test_zlib.py
--- a/pypy/module/zlib/test/test_zlib.py
+++ b/pypy/module/zlib/test/test_zlib.py
@@ -308,6 +308,7 @@
         assert (d1 + from_copy) == (d1 + from_decompressor)
 
     def test_cannot_copy_decompressor_with_stream_in_inconsistent_state(self):
+        if self.runappdirect: skip("can't run with -A")
         decompressor = self.zlib.decompressobj()
         self.intentionally_break_a_z_stream(zobj=decompressor)
         raises(self.zlib.error, decompressor.copy)
@@ -342,6 +343,7 @@
         assert (d1 + from_copy) == (d1 + from_compressor)
 
     def test_cannot_copy_compressor_with_stream_in_inconsistent_state(self):
+        if self.runappdirect: skip("can't run with -A")
         compressor = self.zlib.compressobj()
         self.intentionally_break_a_z_stream(zobj=compressor)
         raises(self.zlib.error, compressor.copy)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to