code: def test_collection_assignment_mutates_previous_one(self):
      User, Address = self.classes.User, self.classes.Address
  
      u1 = User(name="jack")
      u2 = User(name="ed")
      a1 = Address(email_address="a1")
      u1.addresses.append(a1)
  
      is_(a1.user, u1)
  
      u2.addresses = [a1]
  
      eq_(u1.addresses, [])
  
      is_(a1.user, u2)
  
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 11 for calling the O2MCollectionTest obj's underlying member method code with example usage: obj.test_collection_assignment_mutates_previous_one() without return types