From 42101fcbe0f24a45e2b84c4e8355533b0ad1efa8 Mon Sep 17 00:00:00 2001 From: fazledyn-or Date: Thu, 16 Nov 2023 17:48:13 +0600 Subject: [PATCH] Replaced `NotImplementedError` with `NotImplemented` Signed-off-by: fazledyn-or --- nox/_parametrize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nox/_parametrize.py b/nox/_parametrize.py index 8b5d55c3..ad83b53a 100644 --- a/nox/_parametrize.py +++ b/nox/_parametrize.py @@ -78,7 +78,7 @@ def __eq__(self, other: object) -> bool: elif isinstance(other, dict): return dict(zip(self.arg_names, self.args)) == other - raise NotImplementedError + return NotImplemented def _apply_param_specs(param_specs: Iterable[Param], f: Any) -> Any: