Giter Site home page Giter Site logo

DecodingLineBuffer doctest fails about irc HOT 6 CLOSED

jaraco avatar jaraco commented on June 8, 2024
DecodingLineBuffer doctest fails

from irc.

Comments (6)

jaraco avatar jaraco commented on June 8, 2024

Do you know why this test doesn't fail for me? Could it be that pytest enables those features for tests that need them? I recommend against nosetests, because I've found the project to be unresponsive to tickets, so I use pytest exclusively. I find it to be better maintained and more robust. Try running the tests with "python setup.py ptr" and let me know if you still encounter the error.


Original comment by: Jason R. Coombs

from irc.

jaraco avatar jaraco commented on June 8, 2024

python setup.py ptr passes. I'll dig some more.

But I need to make things work without setuptools, as well as exit non-zero if there are failing tests. py.test --ignore docs seems to do the trick.


Original comment by: Mikel Ward

from irc.

jaraco avatar jaraco commented on June 8, 2024

I'm surprised running py.test by itself doesn't result in the same outcome as ptr. In any case, I'm glad you found something that works.


Original comment by: Jason R. Coombs

from irc.

jaraco avatar jaraco commented on June 8, 2024

I'd prefer not to complicate the tests to support edge cases if possible.


Original comment by: Jason R. Coombs

from irc.

jaraco avatar jaraco commented on June 8, 2024

FTR, as expected, pytest is calling doctest with optionflags=doctest.ELLIPSIS.

_pytest/doctest.py:122

So nothing to do here.


Original comment by: Mikel Ward

from irc.

jaraco avatar jaraco commented on June 8, 2024

Thanks for the clarification. I learned something new.


Original comment by: Jason R. Coombs

from irc.

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.