code: def test_plain(self):
      class SomeClass(Versioned, self.Base, ComparableEntity):
          __tablename__ = "sometable"
  
          id = Column(Integer, primary_key=True)
          name = Column(String(50))
  
      self.create_tables()
      sess = self.session
      sc = SomeClass(name="sc1")
      sess.add(sc)
      sess.commit()
  
      sc.name = "sc1modified"
      sess.commit()
  
      assert sc.version == 2
  
      SomeClassHistory = SomeClass.__history_mapper__.class_
  
      eq_(
          sess.query(SomeClassHistory)
          .filter(SomeClassHistory.version == 1)
          .all(),
          [SomeClassHistory(version=1, name="sc1")],
      )
  
      sc.name = "sc1modified2"
  
      eq_(
          sess.query(SomeClassHistory)
          .order_by(SomeClassHistory.version)
          .all(),
          [
              SomeClassHistory(version=1, name="sc1"),
              SomeClassHistory(version=2, name="sc1modified"),
          ],
      )
  
      assert sc.version == 3
  
      sess.commit()
  
      sc.name = "temp"
      sc.name = "sc1modified2"
  
      sess.commit()
  
      eq_(
          sess.query(SomeClassHistory)
          .order_by(SomeClassHistory.version)
          .all(),
          [
              SomeClassHistory(version=1, name="sc1"),
              SomeClassHistory(version=2, name="sc1modified"),
          ],
      )
  
      sess.delete(sc)
      sess.commit()
  
      eq_(
          sess.query(SomeClassHistory)
          .order_by(SomeClassHistory.version)
          .all(),
          [
              SomeClassHistory(version=1, name="sc1"),
              SomeClassHistory(version=2, name="sc1modified"),
              SomeClassHistory(version=3, name="sc1modified2"),
          ],
      )
  
imports: import unittest
  import warnings
  from sqlalchemy import Boolean
  from sqlalchemy import Column
  from sqlalchemy import create_engine
  from sqlalchemy import ForeignKey
  from sqlalchemy import inspect
  from sqlalchemy import Integer
  from sqlalchemy import join
  from sqlalchemy import select
  from sqlalchemy import String
  from sqlalchemy.orm import clear_mappers
  from sqlalchemy.orm import column_property
  from sqlalchemy.orm import declarative_base
  from sqlalchemy.orm import DeclarativeBase
  from sqlalchemy.orm import deferred
  from sqlalchemy.orm import exc
  from sqlalchemy.orm import relationship
  from sqlalchemy.orm import Session
  from sqlalchemy.testing import assert_raises
  from sqlalchemy.testing import AssertsCompiledSQL
  from sqlalchemy.testing import eq_
  from sqlalchemy.testing import eq_ignore_whitespace
  from sqlalchemy.testing import is_
  from sqlalchemy.testing import ne_
  from sqlalchemy.testing.entities import ComparableEntity
  from .history_meta import Versioned
  from .history_meta import versioned_session
label_desc: Use image node_id 5 for calling the TestVersioning obj's underlying member method code with example usage: obj.test_plain() without return types