Merge remote-tracking branch 'upstream/master' into merge-master-into-features
# Conflicts: # AUTHORS # CHANGELOG.rst # _pytest/pytester.py
This commit is contained in:
@@ -174,7 +174,7 @@ def pytest_pycollect_makeitem(collector, name, obj):
|
||||
outcome = yield
|
||||
res = outcome.get_result()
|
||||
if res is not None:
|
||||
raise StopIteration
|
||||
return
|
||||
# nothing was collected elsewhere, let's do it here
|
||||
if isclass(obj):
|
||||
if collector.istestclass(obj, name):
|
||||
@@ -632,7 +632,7 @@ class Generator(FunctionMixin, PyCollector):
|
||||
def getcallargs(self, obj):
|
||||
if not isinstance(obj, (tuple, list)):
|
||||
obj = (obj,)
|
||||
# explict naming
|
||||
# explicit naming
|
||||
if isinstance(obj[0], py.builtin._basestring):
|
||||
name = obj[0]
|
||||
obj = obj[1:]
|
||||
|
||||
Reference in New Issue
Block a user