2 new changesets in pytest:

http://bitbucket.org/hpk42/pytest/changeset/4314c80bc935/
changeset:   4314c80bc935
user:        gutworth
date:        2011-07-07 16:27:40
summary:     use py.builtin.exec_
affected #:  1 file (11 bytes)

--- a/_pytest/assertion/rewrite.py      Wed Jul 06 23:24:54 2011 -0500
+++ b/_pytest/assertion/rewrite.py      Thu Jul 07 09:27:40 2011 -0500
@@ -109,7 +109,7 @@
             mod.__file__ = co.co_filename
             # Normally, this attribute is 3.2+.
             mod.__cached__ = pyc
-            exec co in mod.__dict__
+            py.builtin.exec_(co, mod.__dict__)
         except:
             del sys.modules[name]
             raise


http://bitbucket.org/hpk42/pytest/changeset/9bbe30498225/
changeset:   9bbe30498225
user:        gutworth
date:        2011-07-07 16:43:39
summary:     make test name shorter, so its testdir path isn't too long on 
windows
affected #:  1 file (9 bytes)

--- a/testing/test_runner_xunit.py      Thu Jul 07 09:27:40 2011 -0500
+++ b/testing/test_runner_xunit.py      Thu Jul 07 09:43:39 2011 -0500
@@ -186,7 +186,7 @@
     ])
     assert "passed" not in result.stdout.str()
 
-def test_setup_funcarg_setup_not_called_if_outer_scope_fails(testdir):
+def test_setup_funcarg_setup_when_outer_scope_fails(testdir):
     p = testdir.makepyfile("""
         import pytest
         def setup_module(mod):

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