Skip to content

Commit

Permalink
Don't collect traits-stubs tests under pytest (#1690)
Browse files Browse the repository at this point in the history
This PR adds a pytest configuration to ignore traits-stubs when running the Traits tests. (It's fine to run the traits-stubs tests under pytest, but it needs to be done from the traits-stubs directory as a separate test run.)

Together with #1684 and #1683, this closes #1288.
  • Loading branch information
mdickinson committed Aug 9, 2022
1 parent e6fa59f commit 18341f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ target-version = ['py36']
profile = 'black'
line_length = 79
order_by_type = 'False'

[tool.pytest.ini_options]
addopts = '--ignore=traits-stubs'

0 comments on commit 18341f7

Please sign in to comment.