Giter Club home page Giter Club logo

Comments (3)

pytestbot avatar pytestbot commented on July 23, 2024

Original comment by @hpk42

did you verify this works nicely with python2.5 through to py33?

from execnet.

pytestbot avatar pytestbot commented on July 23, 2024

Original comment by @alfredodeza

I just ran the complete set of tests (it seems 2.5 was dropped) and it all passes with the new way of importing on __init__

I had to change spaces for tabs on testing/conftest.py as you will see in the diff below.

#!

(execnet)papaya[default] ~/python/execnet ᓆ hg diff .
diff -r 758758defb6d execnet/__init__.py
--- a/execnet/__init__.py	Tue Dec 03 10:19:46 2013 +0100
+++ b/execnet/__init__.py	Wed Dec 04 09:04:01 2013 -0500
@@ -5,9 +5,9 @@
 """
 __version__ = '1.2.0.dev1'

-import execnet.apipkg
+from . import apipkg

-execnet.apipkg.initpkg(__name__, {
+apipkg.initpkg(__name__, {
     'PopenGateway':     '.deprecated:PopenGateway',
     'SocketGateway':    '.deprecated:SocketGateway',
     'SshGateway':       '.deprecated:SshGateway',
diff -r 758758defb6d testing/conftest.py
--- a/testing/conftest.py	Tue Dec 03 10:19:46 2013 +0100
+++ b/testing/conftest.py	Wed Dec 04 09:04:01 2013 -0500
@@ -175,7 +175,7 @@
 def execmodel(request):
     if request.param != "thread":
         pytest.importorskip(request.param)
-	if sys.platform == "win32":
+    if sys.platform == "win32":
              pytest.xfail("eventlet/gevent do not work onwin32")
     return get_execmodel(request.param)

(execnet)papaya[default] ~/python/execnet ᓆ detox
GLOB sdist-make: /Users/alfredo/python/execnet/setup.py
pypy create: /Users/alfredo/python/execnet/.tox/pypy
flakes inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py26 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py27 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py32 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
py33 inst-nodeps: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
flakes runtests: commands[0] | py.test -m flakes --flakes execnet testing
py27 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py27/log/junit-py27.xml
py32 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py32/log/junit-py32.xml
py33 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py33/log/junit-py33.xml
py26 runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/py26/log/junit-py26.xml
pypy installdeps: pytest, pytest-timeout
pypy inst: /Users/alfredo/python/execnet/.tox/dist/execnet-1.2.0.dev1.zip
pypy runtests: commands[0] | py.test -rsfxX --junitxml=/Users/alfredo/python/execnet/.tox/pypy/log/junit-pypy.xml
__________________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________________
  py26: commands succeeded
  py27: commands succeeded
  py32: commands succeeded
  py33: commands succeeded
  pypy: commands succeeded
  flakes: commands succeeded
  congratulations :)

from execnet.

pytestbot avatar pytestbot commented on July 23, 2024

Original comment by @hpk42

if i see it correctly, due to your PR this is now fixed.

from execnet.

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.