Skip to content

Commit 1ea9b9b

Browse files
authored
chore: fix typing issue from multiple merges (#1001)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent df43085 commit 1ea9b9b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_sessions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,8 @@ def test_conda_install_verbose(self, verbose: bool, expected_silent: bool) -> No
893893
assert runner.venv
894894
runner.venv.location = "/path/to/conda/env"
895895
runner.venv.env = {}
896-
runner.venv.is_offline = lambda: False # type: ignore[attr-defined]
897-
runner.venv.conda_cmd = "conda" # type: ignore[attr-defined]
896+
runner.venv.is_offline = lambda: False # type: ignore[union-attr]
897+
runner.venv.conda_cmd = "conda" # type: ignore[union-attr]
898898

899899
class SessionNoSlots(nox.sessions.Session):
900900
pass

0 commit comments

Comments
 (0)