$ svn info ~/local/pypy/py/
Path: /home/simon/local/pypy/py
URL: http://codespeak.net/svn/py/dist/py
Repository Root: http://codespeak.net/svn
Repository UUID: fd0d7bf2-dfb6-0310-8d31-b7ecfe96aada
Revision: 59741
Node Kind: directory
Schedule: normal
Last Changed Author: hpk
Last Changed Rev: 58517
Last Changed Date: 2008-10-01 19:24:24 +1000 (Wed, 01 Oct 2008)

traceback:

    def runtraced(self, colitem):
        if self.shouldclose(): 
            raise Exit, "received external close signal" 
    
        outcome = None 
        colitem.startcapture() 
        try: 
            self.start(colitem)
            try: 
                try:
                    if colitem._stickyfailure: 
                        raise colitem._stickyfailure 
>                   outcome = self.run(colitem) 

/home/simon/local/pypy/py/test/session.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def run(self, colitem): 
        if self.config.option.collectonly and isinstance(colitem, 
py.test.collect.Item): 
            return 
        if isinstance(colitem, py.test.collect.Item): 
            colitem._skipbykeyword(self.config.option.keyword)
>       res = colitem.run() 

/home/simon/local/pypy/py/test/session.py:107:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def run(self): 
>       self._prepare()

/home/simon/local/pypy/py/test/collect.py:336:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def _prepare(self): 
        if not hasattr(self, '_name2items'): 
            ex = getattr(self, '_name2items_exception', None)
            if ex is not None: 
                raise ex[0], ex[1], ex[2]
            try: 
>               self._name2items = self._buildname2items()

/home/simon/local/pypy/py/test/collect.py:328:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def _buildname2items(self): 
        # NB. we avoid random getattrs and peek in the __dict__ instead
        d = {}
>       dicts = [getattr(self.obj, '__dict__', {})]

/home/simon/local/pypy/py/test/collect.py:298:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def fget(self):
        try: 
            return self._obj   
        except AttributeError: 
>           self._obj = obj = self._getobj() 

/home/simon/local/pypy/py/test/collect.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def _getobj(self): 
E       return self.parent.obj()  
>       TypeError: __init__() takes exactly 2 arguments (1 given)

/home/simon/local/pypy/py/test/collect.py:436: TypeError
____________________________________________________________________

On Tue, 4 Nov 2008 03:46:48 +0100
holger krekel <[EMAIL PROTECTED]> wrote:

> Hi Simon,
> 
> On Tue, Nov 04, 2008 at 12:27 +1100, Simon Burton wrote:
> > I have problems with py.test (all untraceable thanks to py.test's builtin 
> > magic)
> > Looks like it is picking up pyx source files (is this from the module's 
> > __file__ ?) and choking.
> > Does anyone here use py.test ?
> 
> sure - this is a development mailing list for py.test and the py lib. 
> normally, py.test wouldn't pick up files with a .pyx extension. 
> could you be a bit more specific about what you are doing? 
> which version of pyp.test you are using, how output looks like
> (even if you think it's not providing enough info or shows "magicness")? 
> 
> holger
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to