Author: Philip Jenvey <[email protected]>
Branch: py3.3
Changeset: r72538:a2f29529053a
Date: 2014-07-26 12:27 -0700
http://bitbucket.org/pypy/pypy/changeset/a2f29529053a/
Log: skip hash randomization test
diff --git a/lib-python/3/test/test_cmd_line.py
b/lib-python/3/test/test_cmd_line.py
--- a/lib-python/3/test/test_cmd_line.py
+++ b/lib-python/3/test/test_cmd_line.py
@@ -341,6 +341,9 @@
def test_hash_randomization(self):
# Verify that -R enables hash randomization:
self.verify_valid_flag('-R')
+ if test.support.check_impl_detail(cpython=False):
+ # PyPy doesn't support hash randomization
+ return
hashes = []
for i in range(2):
code = 'print(hash("spam"))'
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit