Refactored old style classes to new style classes

This commit is contained in:
mandeep
2017-01-08 22:52:42 -06:00
parent 3494dd06fe
commit d4afa1554b
16 changed files with 49 additions and 49 deletions

View File

@@ -88,7 +88,7 @@ def derive_importpath(import_path, raising):
return attr, target
class Notset:
class Notset(object):
def __repr__(self):
return "<notset>"
@@ -96,7 +96,7 @@ class Notset:
notset = Notset()
class MonkeyPatch:
class MonkeyPatch(object):
""" Object returned by the ``monkeypatch`` fixture keeping a record of setattr/item/env/syspath changes.
"""