[py-svn] commit/pytest: hpk42: addresses issue209 - avoid error messages from pip on python2.4 related to file, however, never be imported with this interpreter
Bitbucket
commits-noreply at bitbucket.org
Tue Nov 6 09:09:59 CET 2012
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/b3c9ed1fad2f/
changeset: b3c9ed1fad2f
user: hpk42
date: 2012-11-06 09:08:54
summary: addresses issue209 - avoid error messages from pip on python2.4 related to file, however, never be imported with this interpreter
affected #: 3 files
diff -r 273a571c618fa2f153de117ef86e78ae2907893b -r b3c9ed1fad2f4fef2e9959b2032dd56b224f6e15 _pytest/__init__.py
--- a/_pytest/__init__.py
+++ b/_pytest/__init__.py
@@ -1,2 +1,2 @@
#
-__version__ = '2.3.3.dev1'
+__version__ = '2.3.3.dev2'
diff -r 273a571c618fa2f153de117ef86e78ae2907893b -r b3c9ed1fad2f4fef2e9959b2032dd56b224f6e15 _pytest/assertion/rewrite.py
--- a/_pytest/assertion/rewrite.py
+++ b/_pytest/assertion/rewrite.py
@@ -34,7 +34,7 @@
PYTEST_TAG = "%s-%s%s-PYTEST" % (impl, ver[0], ver[1])
del ver, impl
-PYC_EXT = ".py" + ("c" if __debug__ else "o")
+PYC_EXT = ".py" + (__debug__ and "c" or "o")
PYC_TAIL = "." + PYTEST_TAG + PYC_EXT
REWRITE_NEWLINES = sys.version_info[:2] != (2, 7) and sys.version_info < (3, 2)
diff -r 273a571c618fa2f153de117ef86e78ae2907893b -r b3c9ed1fad2f4fef2e9959b2032dd56b224f6e15 setup.py
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@
name='pytest',
description='py.test: simple powerful testing with Python',
long_description = long_description,
- version='2.3.3.dev1',
+ version='2.3.3.dev2',
url='http://pytest.org',
license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list