Skip to content

Commit 1ec41ef

Browse files
plamutshollyman
authored andcommitted
chore: skip samples/snippets in top level snippets test
1 parent 45e70c1 commit 1ec41ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

noxfile.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ def snippets(session):
113113
session.install("-e", ".[all]")
114114

115115
# Run py.test against the snippets tests.
116+
# Skip tests in samples/snippets, as those are run in a different session
117+
# using the nox config from that directory.
116118
session.run("py.test", os.path.join("docs", "snippets.py"), *session.posargs)
117-
session.run("py.test", "samples", *session.posargs)
119+
session.run("py.test", "samples", "--ignore=samples/snippets", *session.posargs)
118120

119121

120122
@nox.session(python="3.8")

0 commit comments

Comments
 (0)