Skip to content

Commit 01b1e81

Browse files
fix(test): drop invalid None return type on generator fixture
Pyright rejects `-> None` on autouse fixtures that yield. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4cb11a3 commit 01b1e81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/create-awesome-python-app/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
@pytest.fixture(autouse=True)
19-
def _clean_cpa_process_env() -> None:
19+
def _clean_cpa_process_env():
2020
"""Clear CPA env vars that CLI helpers set via ``os.environ`` (not monkeypatch).
2121
2222
``apply_fixture_mode`` mutates ``os.environ`` directly. Pairing that with

0 commit comments

Comments
 (0)