From a82753ef3a11e948871c20e6f04aa0c5cd6f0159 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Wed, 26 Sep 2018 13:06:28 +0100 Subject: [PATCH] Make FooConverter inherit from ConversionInterface in examples --- examples/units/evans_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/units/evans_test.py b/examples/units/evans_test.py index 72acfb4bf6ca..c5fe9696d2fb 100644 --- a/examples/units/evans_test.py +++ b/examples/units/evans_test.py @@ -27,7 +27,7 @@ def value(self, unit): return self._val / unit -class FooConverter(object): +class FooConverter(units.ConversionInterface): @staticmethod def axisinfo(unit, axis): 'return the Foo AxisInfo'