Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 10, 2024
1 parent 04e6817 commit f4c777a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_pytest_randomly.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def test_b():
assert test_b.num == test_a.num
"""
)
out = ourtester.runpytest("--randomly-dont-reorganize", "--randomly-dont-seed-per-test")
out = ourtester.runpytest(
"--randomly-dont-reorganize", "--randomly-dont-seed-per-test"
)
out.assert_outcomes(passed=2, failed=0)


Expand Down Expand Up @@ -799,7 +801,9 @@ def fake_entry_points(*, group):
]

reseed.mock_calls[:] = []
pytester.runpytest_inprocess("--randomly-seed=424242", "--randomly-dont-seed-per-test")
pytester.runpytest_inprocess(
"--randomly-seed=424242", "--randomly-dont-seed-per-test"
)
assert reseed.mock_calls == [
mock.call(424242),
mock.call(424242),
Expand Down

0 comments on commit f4c777a

Please sign in to comment.