From: Dylan Baker <baker.dyla...@gmail.com>

Currently this class uses the abc decorators, but its type isn't
actually abc.ABCMeta, which makes the abc decorators no-ops. This fixes
that.

Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
---
 framework/dmesg.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/dmesg.py b/framework/dmesg.py
index 1982dec..70395d8 100644
--- a/framework/dmesg.py
+++ b/framework/dmesg.py
@@ -68,6 +68,8 @@ class BaseDmesg(object):
     first, test B will be marked as having the dmesg error.
 
     """
+    __metaclass__ = abc.ABCMeta
+
     @abc.abstractmethod
     def __init__(self):
         # A list containing all messages since the last time dmesg was read.
-- 
2.6.2

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to