Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 18, 2021

This avoids the following error if DeprecationWarnings are ignored.

======================================================================
ERROR: test_entry_points_by_index (test.test_importlib.test_metadata_api.APITests)
Prior versions of Distribution.entry_points would return a
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.10.0b3/Lib/test/test_importlib/test_metadata_api.py", line 145, in test_entry_points_by_index
    expected = next(iter(caught))
StopIteration
----------------------------------------------------------------------
Ran 1402 tests in 2.125s
FAILED (errors=1, skipped=18, expected failures=1)

(cherry picked from commit df1502e)

Co-authored-by: Miro Hrončok miro@hroncok.cz

https://bugs.python.org/issue44451

Automerge-Triggered-By: GH:jaraco

…try_points_by_index (pythonGH-26784)

This avoids the following error if DeprecationWarnings are ignored.

    ======================================================================
    ERROR: test_entry_points_by_index (test.test_importlib.test_metadata_api.APITests)
    Prior versions of Distribution.entry_points would return a
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/builddir/build/BUILD/Python-3.10.0b3/Lib/test/test_importlib/test_metadata_api.py", line 145, in test_entry_points_by_index
        expected = next(iter(caught))
    StopIteration
    ----------------------------------------------------------------------
    Ran 1402 tests in 2.125s
    FAILED (errors=1, skipped=18, expected failures=1)
(cherry picked from commit df1502e)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
@miss-islington
Copy link
Contributor Author

@hroncok and @jaraco: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@hroncok and @jaraco: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@hroncok and @jaraco: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@hroncok and @jaraco: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit bf55a79 into python:3.10 Jun 18, 2021
@miss-islington miss-islington deleted the backport-df1502e-3.10 branch June 18, 2021 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants