-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failures with Python 3.11.0b4 #10131
Comments
I think the |
This reduces the doctest failure: diff --git a/testing/test_doctest.py b/testing/test_doctest.py
index 828253d32..612ac0567 100644
--- a/testing/test_doctest.py
+++ b/testing/test_doctest.py
@@ -223,7 +223,7 @@ class TestDoctests:
"Traceback (most recent call last):",
' File "*/doctest.py", line *, in __run',
" *",
- *((" *^^^^*",) if sys.version_info >= (3, 11) else ()),
+ *((" *^^^^*",) if (3, 11, 0, 'beta', 4) > sys.version_info >= (3, 11) else ()),
' File "<doctest test_doctest_unexpected_exception.txt[1]>", line 1, in <module>',
"ZeroDivisionError: division by zero",
"*/test_doctest_unexpected_exception.txt:2: UnexpectedException", (I plan to submit a PR, just talking to myself here before I do.) |
The other tests are fixable by the same treatment. |
hroncok
added a commit
to hroncok/pytest
that referenced
this issue
Jul 13, 2022
hroncok
added a commit
to hroncok/pytest
that referenced
this issue
Jul 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pip list
from the virtual environment you are usingHello. We have updated Python from 3.11.0b3 to 3.11.0b4 in Fedora Linux 37 and we see some test failures of pytest 7.1.2. I was able to reproduce them from git HEAD @ c2b1d5b.
The text was updated successfully, but these errors were encountered: