Skip to content

Commit

Permalink
Tests work on 3.11.0b1
Browse files Browse the repository at this point in the history
Thanks to CPython upstream fixes, these tests should now just work
  • Loading branch information
Zac-HD committed May 8, 2022
1 parent 1daefd5 commit a4681f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions hypothesis-python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
if sys.version_info >= (3, 11):
collect_ignore_glob.append("cover/test_asyncio.py") # @asyncio.coroutine removed

assert sys.version_info.releaselevel == "alpha"
# TODO: our traceback elision doesn't work with Python 3.11's nice new format yet
collect_ignore_glob.append("cover/test_traceback_elision.py")
collect_ignore_glob.append("pytest/test_capture.py")


def pytest_configure(config):
config.addinivalue_line("markers", "slow: pandas expects this marker to exist.")
Expand Down
4 changes: 0 additions & 4 deletions hypothesis-python/tests/cover/test_lookup_py37.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ def test_resolving_standard_callable_ellipsis(x: collections.abc.Callable[..., E
assert isinstance(x(1, 2, 3, a=4, b=5, c=6), Elem)


@pytest.mark.skipif(
sys.version_info[:3] == (3, 11, 0),
reason="https://github.com/python/cpython/issues/91621",
)
@given(...)
def test_resolving_standard_callable_no_args(x: collections.abc.Callable[[], Elem]):
assert isinstance(x, collections.abc.Callable)
Expand Down

0 comments on commit a4681f6

Please sign in to comment.