We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d83ac commit 9d69b3dCopy full SHA for 9d69b3d
src/_pytest/config/argparsing.py
@@ -359,10 +359,7 @@ def __repr__(self) -> str:
359
args += ["_short_opts: " + repr(self._short_opts)]
360
if self._long_opts:
361
args += ["_long_opts: " + repr(self._long_opts)]
362
- if hasattr(self, "dest"):
363
- args += ["dest: " + repr(self.dest)]
364
- else:
365
- args += ["dest: <not set>"]
+ args += ["dest: " + repr(getattr(self, "dest", NOT_SET))]
366
if hasattr(self, "type"):
367
args += ["type: " + repr(self.type)]
368
if hasattr(self, "default"):
0 commit comments