Giter Site home page Giter Site logo

Comments (6)

mathewtrivett avatar mathewtrivett commented on July 18, 2024 1

I'm not sure I ever found a solution but it is a compatibility issue between Python2 and Python3. One way to handle it is to only run your project with Python2 but that's likely a terrible idea if all the other modules you are using are built for python3.

Alternatively use another test framework. You won't get that BDD flavour but pytest is really great and simple to learn, results in pretty decent and clean code. Django generally has a pretty good test suite built off unittest.

from lettuce.

mariaae avatar mariaae commented on July 18, 2024

@mathewtrivett hi! did you find a solution for this? I have the same issue :(

from lettuce.

michelts avatar michelts commented on July 18, 2024

I think there is an alternative if you want BDD with pytest:

https://github.com/pytest-dev/pytest-bdd

from lettuce.

mariaae avatar mariaae commented on July 18, 2024

@mathewtrivett Thank you for taking the time to answer back!

@michelts good to know! I will have a look at it :)

from lettuce.

michelts avatar michelts commented on July 18, 2024

@mariaae if you didn't try Aloe and Aloe django as lettuce replacements, I recommend you do it.

Migrate from lettuce to aloe was pretty simple and it supports py3.

from lettuce.

sgpy avatar sgpy commented on July 18, 2024

@mariaae @mathewtrivett @michelts if you have time (and interested) in lettuce fork which support py27 & py37 git it a try. Just trying to get some feedback from community on Python 3 support

from lettuce.

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.