Workaround for py36-xdist failure.

This commit is contained in:
turturica 2018-04-26 23:05:03 -07:00
parent 05b5b64379
commit 6fc7f07a80
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ class Package(Module):
nodes.FSCollector.__init__(
self, fspath, parent=parent,
config=config, session=session, nodeid=nodeid)
self.name = fspath.pyimport().__name__
self.name = fspath.dirname
self.trace = session.trace
self._norecursepatterns = session._norecursepatterns
for path in list(session.config.pluginmanager._duplicatepaths):