Closed as not planned
Description
Right now running this command:
coverage run --pylib --branch --source=typing -m test -v test_types
Results in this test failure:
======================================================================
FAIL: test_or_type_operator_reference_cycle (test.test_types.UnionTests.test_or_type_operator_reference_cycle)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sobolev/Desktop/cpython/Lib/test/test_types.py", line 998, in test_or_type_operator_reference_cycle
self.assertLessEqual(sys.gettotalrefcount() - before, leeway,
AssertionError: 608 not less than or equal to 15 : Check for union reference leak.
----------------------------------------------------------------------
Ran 112 tests in 0.414s
FAILED (failures=1)
test test_types failed
test_types failed (1 failure)
I am not sure right now what to do with it:
- Disable during coverage
- Fix it not to fail
- Investigate if this is a real bug