Blob Blame History Raw
diff --color -Nur python-daemon-2.3.0.orig/test/test_metadata.py python-daemon-2.3.0/test/test_metadata.py
--- python-daemon-2.3.0.orig/test/test_metadata.py	2021-02-20 21:45:31.000000000 -0800
+++ python-daemon-2.3.0/test/test_metadata.py	2021-08-07 14:13:30.307834642 -0700
@@ -28,6 +28,7 @@
 import pkg_resources
 import testtools.helpers
 import testtools.matchers
+import extras
 
 from . import scaffold
 from .scaffold import unicode
@@ -44,7 +45,7 @@
     def match(self, instance):
         """ Assert the object `instance` has an attribute named `name`. """
         result = None
-        if not testtools.helpers.safe_hasattr(instance, self.attribute_name):
+        if not extras.safe_hasattr(instance, self.attribute_name):
             result = AttributeNotFoundMismatch(instance, self.attribute_name)
         return result