Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Testing

New issue 3718 by [email protected]: py.test without any arguments does not work
http://code.google.com/p/sympy/issues/detail?id=3718

$py.test
==================================================================== test session starts =====================================================================
platform darwin -- Python 2.7.3 -- pytest-2.3.4
collected 0 items / 1 errors

=========================================================================== ERRORS =========================================================================== _____________________________________________________________________ ERROR collecting . _____________________________________________________________________
/sw/lib/python2.7/site-packages/py/_path/common.py:315: in visit
       for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
/sw/lib/python2.7/site-packages/py/_path/common.py:361: in gen
               for p in self.gen(subdir):
/sw/lib/python2.7/site-packages/py/_path/common.py:351: in gen
                   if p.check(dir=1) and (rec is None or rec(p))])
/sw/lib/python2.7/site-packages/_pytest/main.py:546: in _recurse
       ihook.pytest_collect_directory(path=path, parent=self)
/sw/lib/python2.7/site-packages/_pytest/main.py:156: in call_matching_hooks
       plugins = self.config._getmatchingplugins(self.fspath)
/sw/lib/python2.7/site-packages/_pytest/config.py:319: in _getmatchingplugins
       plugins += self._conftest.getconftestmodules(fspath)
/sw/lib/python2.7/site-packages/_pytest/config.py:214: in getconftestmodules
                       clist.append(self.importconftest(conftestpath))
/sw/lib/python2.7/site-packages/_pytest/config.py:243: in importconftest
self._conftestpath2mod[conftestpath] = mod = conftestpath.pyimport()
/sw/lib/python2.7/site-packages/py/_path/local.py:551: in pyimport
               raise self.ImportMismatchError(modname, modfile, self)
E ImportMismatchError: ('sympy.conftest', '/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/conftest.py', local('/Users/aaronmeurer/Documents/Python/sympy/sympy/py3k-sympy/sympy/conftest.py')) DO *NOT* COMMIT! ================================================================== 1 error in 1.49 seconds ===================================================================

It seems to be confused about which conftest to use between the one in sympy/ and the one in py3k-sympy/.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to