require py>=1.2.20

This commit is contained in:
holger krekel 2014-01-29 13:11:40 +01:00
parent 2b8a54d5d9
commit 8a3b4b9c37
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ classifiers=['Development Status :: 6 - Mature',
long_description = open("README.rst").read()
def main():
install_requires = ["py>=1.4.20.dev2"]
install_requires = ["py>=1.4.20"]
if sys.version_info < (2,7):
install_requires.append("argparse")
if sys.platform == "win32":

View File

@ -411,8 +411,8 @@ def test_rewritten():
testdir.tmpdir.join("test_newlines.py").write(b, "wb")
assert testdir.runpytest().ret == 0
@pytest.mark.skipif(sys.version_info[0] == 2,
reason='packages without __init__.py not supported on python 2')
@pytest.mark.skipif(sys.version_info < (3,3),
reason='packages without __init__.py not supported on python 2')
def test_package_without__init__py(self, testdir):
pkg = testdir.mkdir('a_package_without_init_py')
pkg.join('module.py').ensure()