Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not executable on Python 2.7 #3

Closed
pytestbot opened this issue Oct 12, 2010 · 2 comments
Closed

not executable on Python 2.7 #3

pytestbot opened this issue Oct 12, 2010 · 2 comments
Labels
type: bug problem that needs to be addressed

Comments

@pytestbot
Copy link
Contributor

Originally reported by: Simon Liedtke (BitBucket: derdon, GitHub: derdon)


After trying to execute py.test, the following traceback occured: http://paste.pocoo.org/show/274612/

This is <> says about it (copied from #pylib):

derdon: seems like that is a python2.7 only bug

derdon: seems like the namespace hook broke

derdon: yup, the issue is pretty much the lack of the namespace hook being executed


@pytestbot
Copy link
Contributor Author

Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt):


on closer introspection it seems the namespace hook for session return a bogus None
will search further

@pytestbot
Copy link
Contributor Author

Original comment by holger krekel (BitBucket: hpk42, GitHub: hpk42):


this is an "in-progress" problem - mixing old "py" installs and new "pytest" will break. I added an assertion in pytest to avoid this mixup and plan to set up requirements for releases such that it cannot happen at all.

@pytestbot pytestbot added the type: bug problem that needs to be addressed label Jun 15, 2015
hpk42 pushed a commit that referenced this issue Jun 25, 2016
* Fix the tests

* Fix .format string failures on python 2.6
davidszotten pushed a commit to davidszotten/pytest that referenced this issue Oct 13, 2018
dxtr85 pushed a commit to dxtr85/pytest that referenced this issue Jan 7, 2020
Orenef11 added a commit to Orenef11/pytest that referenced this issue Oct 10, 2021
mgorny pushed a commit to mgorny/pytest that referenced this issue May 27, 2023
add conditional imports for jenkins et al
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug problem that needs to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant