From 378208c988f40bdf6c6df486d089e9797e798c7a Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 3 Nov 2024 09:54:48 -0500 Subject: [PATCH] Remove tests_isolated from default tests run with pytest (#1362) * Remove tests_isolated from default tests run with pytest This is to prevent pytest from running tests together which need to be isolated. In the future we should try to fix these tests so they don't need to be run isolated from others. * Updated CHANGELOG in preparation for a new release While this bug won't impact cmd2 development itself, it will create chaos for consumers such as Linux distros trying to execute cmd2 tests when packaging it. --- CHANGELOG.md | 4 ++++ pyproject.toml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d4a4cb5c..1442a73f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.5.2 (November 3, 2024) +* Bug Fixes + * Fixed default `pytest` execution when not using cmd2's custom `invoke` command via `inv pytest` + # 2.5.1 (November 2, 2024) * Bug Fixes * Fixed readline bug when using `ipy` command with `gnureadline` and Python 3.13 diff --git a/pyproject.toml b/pyproject.toml index 6dae9cea..bfd8d44b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,6 @@ warn_unused_ignores = false [tool.pytest.ini_options] testpaths = [ "tests", - "tests_isolated", ] addopts = [ "--cov=cmd2",