diff options
author | Nils Philippsen <nils@tiptoe.de> | 2021-12-12 18:35:03 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-12-14 15:46:00 -0500 |
commit | 009747e146008ce695f33aee5ffb12a14f3a7e46 (patch) | |
tree | c38f8d97fb0e71bbf73bc3e1b5e58ceb044fd8a7 /lib/sqlalchemy/sql/traversals.py | |
parent | 893b4e03921eb1a86e202988bf247251d0d2fae9 (diff) | |
download | sqlalchemy-009747e146008ce695f33aee5ffb12a14f3a7e46.tar.gz |
Ignore ephemeral classes in test_all_present()
Fixed a regression in the test suite where the test called
``CompareAndCopyTest::test_all_present`` would fail on some platforms due
to additional testing artifacts being detected. Pull request courtesy Nils
Philippsen.
In some circumstances, ephemeral class objects that are created within
the scope of a test method don't seem to be garbage collected directly
on exit. Filter out classes created in test modules.
Fixes: #7450
Closes: #7451
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7451
Pull-request-sha: 135a8aaba2c6941460c7f45aa1a55c8f6b9eb43d
Change-Id: I621967bd916089dc1e3f98625fd2a852cd9fd712
Diffstat (limited to 'lib/sqlalchemy/sql/traversals.py')
0 files changed, 0 insertions, 0 deletions