(self)
| 3188 | |
| 3189 | class ORMLoggingTest(_fixtures.FixtureTest): |
| 3190 | def setup_test(self): |
| 3191 | self.buf = logging.handlers.BufferingHandler(100) |
| 3192 | for log in [logging.getLogger("sqlalchemy.orm")]: |
| 3193 | log.addHandler(self.buf) |
| 3194 | |
| 3195 | self.mapper = registry().map_imperatively |
| 3196 | |
| 3197 | def teardown_test(self): |
| 3198 | for log in [logging.getLogger("sqlalchemy.orm")]: |