diff --git a/pyproject.toml b/pyproject.toml index fbe8189810bc..357902f21623 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,10 @@ addopts = [ "--allow-hosts=localhost,::1,stripe", "--durations=20", "--numprocesses=auto", + # Disable ddtrace for tests + "-p no:ddtrace", + "-p no:ddtrace.pytest_bdd", + "-p no:ddtrace.pytest_benchmark", ] cache_dir = "dev/.pytest_cache" testpaths = ["tests/"]