1 new changeset in pytest:

http://bitbucket.org/hpk42/pytest/changeset/0dcf96067a0a/
changeset:   0dcf96067a0a
user:        hpk42
date:        2011-09-21 06:45:40
summary:     don't try assertion rewriting on jython for now
affected #:  4 files (-1 bytes)

--- a/CHANGELOG Wed Sep 21 06:21:48 2011 +0200
+++ b/CHANGELOG Wed Sep 21 06:45:40 2011 +0200
@@ -6,6 +6,7 @@
 - fix issue69 / assertion rewriting fixed on some boolean operations
 - fix issue68 / packages now work with assertion rewriting
 - fix issue66: use different assertion rewriting caches when the -O option is 
passed
+- don't try assertion rewriting on Jython, use reinterp
 
 Changes between 2.1.0 and 2.1.1
 ----------------------------------------------


--- a/_pytest/__init__.py       Wed Sep 21 06:21:48 2011 +0200
+++ b/_pytest/__init__.py       Wed Sep 21 06:45:40 2011 +0200
@@ -1,2 +1,2 @@
 #
-__version__ = '2.1.2.dev1'
+__version__ = '2.1.2.dev2'


--- a/_pytest/assertion/__init__.py     Wed Sep 21 06:21:48 2011 +0200
+++ b/_pytest/assertion/__init__.py     Wed Sep 21 06:45:40 2011 +0200
@@ -38,6 +38,9 @@
             import ast
         except ImportError:
             mode = "reinterp"
+        else:
+            if sys.platform.startswith('java'):
+                mode = "reinterp"
     if mode != "plain":
         _load_modules(mode)
         def callbinrepr(op, left, right):


--- a/setup.py  Wed Sep 21 06:21:48 2011 +0200
+++ b/setup.py  Wed Sep 21 06:45:40 2011 +0200
@@ -24,7 +24,7 @@
         name='pytest',
         description='py.test: simple powerful testing with Python',
         long_description = long_description,
-        version='2.1.2.dev1',
+        version='2.1.2.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.
_______________________________________________
py-svn mailing list
py-svn@codespeak.net
http://codespeak.net/mailman/listinfo/py-svn

Reply via email to