Open idella opened 10 years ago
The tests failures appear to be a result of the hash randomization in Python 3.3+ (using the -R
flag on Python 2 reprocuces these issues IIRC). I don't believe the test failures indicate a bug, although it would be nice to fix them, I'm not sure what that fix looks like.
FYI non-rpython tests pass for the latest commit 41d748393b96dffe3c4ef628ec11ea28275aa279 , with Python 3.7.6:
$ pytest tests
================================================================= test session starts ==================================================================
platform darwin -- Python 3.7.6, pytest-6.0.1, py-1.9.0, pluggy-0.13.1
rootdir: /[omitted]/rply
plugins: hypothesis-5.5.4, arraydiff-0.3, remotedata-0.3.2, openfiles-0.4.0, doctestplus-0.5.0, astropy-header-0.1.2
collected 49 items
tests/test_both.py . [ 2%]
tests/test_lexer.py .......... [ 22%]
tests/test_parser.py .......... [ 42%]
tests/test_parsergenerator.py ........ [ 59%]
tests/test_tokens.py ..... [ 69%]
tests/test_utils.py ..... [ 79%]
tests/test_warnings.py .... [ 87%]
tests/test_ztranslation.py ssssss [100%]
============================================================ 43 passed, 6 skipped in 0.21s ============================================================
from the source, with system python set to Python 3.3.5;
rply-0.7.2 $ py.test tests/
yields
with system Python 3.4.0
as for Python 3.3.5
Can you replicate? py3.2 passes fine. These may be python minor version sensitive. Do you require anything further?