Skip to content

Commit

Permalink
Fix test failure due to posargs implementation change in Nox
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolowicz committed Jun 11, 2021
1 parent 12a2ea9 commit a8c3f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def iter_sessions() -> IterSessions:
nox.registry._REGISTRY.clear()

def _iter_sessions() -> Iterator[str]:
options = nox._options.options.namespace()
options = nox._options.options.namespace(posargs=[])
manifest = nox.manifest.Manifest(nox.registry.get(), options)
for session in manifest:
yield session.name
Expand Down

0 comments on commit a8c3f76

Please sign in to comment.