All classes now subclass object for better py3 compatibility

Fix #2147
This commit is contained in:
Bruno Oliveira
2018-01-24 18:23:42 -02:00
parent 3b3d237f07
commit af37778b0d
22 changed files with 56 additions and 55 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.
"""