ciflow/inductor/199670: [py3.14] Inline test.support helpers in test_ordered_set
- PyTorch: 1864 events in the last 90 days
- PyTorch: 1840th Release in the last 90 days
- Previous: earlier the same day · ciflow/trunk/199669
What happened
Summary: test_ordered_set.py imports CPython's test.support for two helpers, check_free_after_iterating and gc_collect . Not every Python distribution ships the test package, and where it is missing the whole module fails to import, so no test in it runs: ImportError: cannot import name 'support' from 'test' (unknown location) Copy check_free_after_iterating into the test file and call gc.collect() directly. The alt…
Summary assembled by rule from the sources below