fix issue512: show "<notset>" for arguments which might not be set
in monkeypatch plugin. Improves output in documentation.
This commit is contained in:
@@ -59,7 +59,11 @@ def derive_importpath(import_path):
|
||||
|
||||
|
||||
|
||||
notset = object()
|
||||
class Notset:
|
||||
def __repr__(self):
|
||||
return "<notset>"
|
||||
|
||||
notset = Notset()
|
||||
|
||||
class monkeypatch:
|
||||
""" object keeping a record of setattr/item/env/syspath changes. """
|
||||
|
||||
Reference in New Issue
Block a user