Giter Club home page Giter Club logo

Comments (2)

alex avatar alex commented on August 15, 2024

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.

from rply.

nobodxbodon avatar nobodxbodon commented on August 15, 2024

FYI non-rpython tests pass for the latest commit 41d7483 , 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 rply.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.