diff --git a/testing/test_stepwise.py b/testing/test_stepwise.py index ad9b77296bc..b8583992577 100644 --- a/testing/test_stepwise.py +++ b/testing/test_stepwise.py @@ -41,6 +41,14 @@ def test_success(): """ ) + # customize cache directory so we don't use the tox's cache directory, which makes tests in this module flaky + testdir.makeini( + """ + [pytest] + cache_dir = .cache + """ + ) + return testdir