MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / teardown_test

Method teardown_test

test/orm/test_session.py:2019–2022  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2017 cls.mapper_registry.map_imperatively(T, cls.tables.t1)
2018
2019 def teardown_test(self):
2020 from sqlalchemy.orm.session import _sessions
2021
2022 _sessions.clear()
2023
2024 def _set_imap_in_disposal(self, sess, *objs):
2025 """remove selected objects from the given session, as though

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected