code: def test_scalar_move_notloaded(self):
      User, Address = self.classes.User, self.classes.Address
  
      sess = fixture_session()
  
      u1 = User(name="jack")
      u2 = User(name="ed")
      a1 = Address(email_address="a1")
      a1.user = u1
      sess.add_all([u1, u2, a1])
      sess.commit()
  
      # direct set - the fetching of the
      # "old" u1 here allows the backref
      # to remove it from the addresses collection
      a1.user = u2
  
      assert a1 not in u1.addresses
      assert a1 in u2.addresses
  
imports: from sqlalchemy import testing
  from sqlalchemy import text
  from sqlalchemy.orm import attributes
  from sqlalchemy.orm import backref
  from sqlalchemy.orm import relationship
  from sqlalchemy.orm import Session
  from sqlalchemy.testing import eq_
  from sqlalchemy.testing import is_
  from sqlalchemy.testing.fixtures import fixture_session
  from test.orm import _fixtures
label_desc: Use image node_id 9 for calling the O2MCollectionTest obj's underlying member method code with example usage: obj.test_scalar_move_notloaded() without return types