Commit 85a6d079 authored by Jason Madden's avatar Jason Madden

test__util: Run alone on Py3.12b3

Because we seem to have extra greenlets.
parent 10c84561
...@@ -91,6 +91,7 @@ COVERAGE = _AttrCondition('RUN_COVERAGE') ...@@ -91,6 +91,7 @@ COVERAGE = _AttrCondition('RUN_COVERAGE')
RESOLVER_NOT_SYSTEM = _AttrCondition('RESOLVER_NOT_SYSTEM') RESOLVER_NOT_SYSTEM = _AttrCondition('RESOLVER_NOT_SYSTEM')
BIT_64 = ConstantCondition(struct.calcsize('P') * 8 == 64, 'BIT_64') BIT_64 = ConstantCondition(struct.calcsize('P') * 8 == 64, 'BIT_64')
PY380_EXACTLY = ConstantCondition(sys.version_info[:3] == (3, 8, 0), 'PY380_EXACTLY') PY380_EXACTLY = ConstantCondition(sys.version_info[:3] == (3, 8, 0), 'PY380_EXACTLY')
PY312B3_EXACTLY = ConstantCondition(sys.version_info == (3, 12, 0, 'beta', 3))
class _Definition(object): class _Definition(object):
__slots__ = ( __slots__ = (
...@@ -205,6 +206,16 @@ DefinitionsBase = DefinitionsMeta('DefinitionsBase', (object,), {}) ...@@ -205,6 +206,16 @@ DefinitionsBase = DefinitionsMeta('DefinitionsBase', (object,), {})
class Definitions(DefinitionsBase): class Definitions(DefinitionsBase):
test__util = RunAlone(
"""
If we have extra greenlets hanging around due to changes in GC, we won't
match the expected output.
So far, this is only seen on one version, in CI environment.
""",
when=(CI & PY312B3_EXACTLY)
)
test__issue6 = Flaky( test__issue6 = Flaky(
"""test__issue6 (see comments in test file) is really flaky on both Travis and Appveyor; """test__issue6 (see comments in test file) is really flaky on both Travis and Appveyor;
on Travis we could just run the test again (but that gets old fast), but on appveyor on Travis we could just run the test again (but that gets old fast), but on appveyor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment