Skip to content

Commit

Permalink
fix py32 failures and remove random print from commit accident
Browse files Browse the repository at this point in the history
  • Loading branch information
hpk42 committed Dec 16, 2013
1 parent b9cd7c1 commit 563465f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion _pytest/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,6 @@ def merge(otherlist):
return fixturenames_closure, arg2fixturedefs

def pytest_generate_tests(self, metafunc):
print "pytest core pytest_generate_tests"
for argname in metafunc.fixturenames:
faclist = metafunc._arg2fixturedefs.get(argname)
if faclist is None:
Expand Down
3 changes: 2 additions & 1 deletion testing/test_genscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def run(self, anypython, testdir, *args):
def test_gen(testdir, anypython, standalone):
if sys.version_info >= (2,7):
result = testdir._run(anypython, "-c",
"import sys;print sys.version_info >=(2,7)")
"import sys;print (sys.version_info >=(2,7))")
assert result.ret == 0
if result.stdout.str() == "False":
pytest.skip("genscript called from python2.7 cannot work "
"earlier python versions")
Expand Down

0 comments on commit 563465f

Please sign in to comment.