[py-svn] commit/pytest: hpk42: don't expose _fillfuncargs (no clue why it ever was exposed)

Bitbucket commits-noreply at bitbucket.org
Sat Mar 5 14:29:17 CET 2011


1 new changeset in pytest:

http://bitbucket.org/hpk42/pytest/changeset/931e46b39d9c/
changeset:   r2170:931e46b39d9c
user:        hpk42
date:        2011-03-05 14:29:10
summary:     don't expose _fillfuncargs (no clue why it ever was exposed)
affected #:  1 file (40 bytes)

--- a/testing/test_python.py	Sat Mar 05 14:16:27 2011 +0100
+++ b/testing/test_python.py	Sat Mar 05 14:29:10 2011 +0100
@@ -588,7 +588,8 @@
         item.config.pluginmanager.register(Provider())
         if hasattr(item, '_args'):
             del item._args
-        pytest._fillfuncargs(item)
+        from _pytest.python import fillfuncargs
+        fillfuncargs(item)
         assert len(item.funcargs) == 1
 
 class TestRequest:

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