fix trial tests
This commit is contained in:
parent
7c8755cc89
commit
64544bee1a
|
@ -1,2 +1,2 @@
|
|||
#
|
||||
__version__ = '2.3.0.dev29'
|
||||
__version__ = '2.3.0.dev30'
|
||||
|
|
|
@ -1529,7 +1529,7 @@ class FixtureManager:
|
|||
self._holderobjseen.add(holderobj)
|
||||
autousenames = []
|
||||
for name in dir(holderobj):
|
||||
obj = getattr(holderobj, name)
|
||||
obj = getattr(holderobj, name, None)
|
||||
if not callable(obj):
|
||||
continue
|
||||
# fixture functions have a pytest_funcarg__ prefix (pre-2.3 style)
|
||||
|
|
2
setup.py
2
setup.py
|
@ -24,7 +24,7 @@ def main():
|
|||
name='pytest',
|
||||
description='py.test: simple powerful testing with Python',
|
||||
long_description = long_description,
|
||||
version='2.3.0.dev29',
|
||||
version='2.3.0.dev30',
|
||||
url='http://pytest.org',
|
||||
license='MIT license',
|
||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||
|
|
|
@ -313,7 +313,7 @@ class TestTrialUnittest:
|
|||
"*i2wanto*",
|
||||
"*sys.version_info*",
|
||||
"*skip_in_method*",
|
||||
"*4 skipped*3 xfail*1 xpass*",
|
||||
"*5 skipped*3 xfail*1 xpass*",
|
||||
])
|
||||
|
||||
def test_trial_error(self, testdir):
|
||||
|
|
Loading…
Reference in New Issue