'L{_oldstyle._oldStyle} wraps an old-style class and returns a new-style
class that has the same functions, attributes, etc.'

def test_makesNewStyle(self):

    class SomeClassThatUsesOldStyle(SomeOldStyleClass, ):
        pass
    self.assertEqual(type(SomeClassThatUsesOldStyle), types.ClassType)
    updatedClass = _oldstyle._oldStyle(SomeClassThatUsesOldStyle)
    self.assertEqual(type(updatedClass), type)
    self.assertEqual(updatedClass.__bases__, (SomeOldStyleClass, object))
    self.assertEqual(updatedClass().func(), 'hi')
    self.assertEqual(updatedClass().bar, 'baz')
