Skip to content

Tests fails with Python 3.15.0a2 #700

@hegjon

Description

@hegjon
FAIL: test_alias_names_still_exist (test_typing_extensions.AllTests.test_alias_names_still_exist)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-typing-extensions-4.15.0-build/typing_extensions-4.15.0/src/test_typing_extensions.py", line 6895, in test_alias_names_still_exist
    self.assertTrue(
    ~~~~~~~~~~~~~~~^
        hasattr(typing_extensions, name),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        f"{name} no longer exists in typing",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: False is not true : no_type_check_decorator no longer exists in typing

======================================================================
FAIL: test_all_names_in___all__ (test_typing_extensions.AllTests.test_all_names_in___all__)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-typing-extensions-4.15.0-build/typing_extensions-4.15.0/src/test_typing_extensions.py", line 6854, in test_all_names_in___all__
    self.assertEqual({*exclude, *typing_extensions.__all__},
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                     actual_names)
                     ^^^^^^^^^^^^^
AssertionError: Items in the first set but not the second:
'no_type_check_decorator'

======================================================================
FAIL: test_typing_extensions_includes_standard (test_typing_extensions.AllTests.test_typing_extensions_includes_standard)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-typing-extensions-4.15.0-build/typing_extensions-4.15.0/src/test_typing_extensions.py", line 6836, in test_typing_extensions_includes_standard
    self.assertTrue(hasattr(typing_extensions, name))
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: False is not true

More information: https://bugzilla.redhat.com/show_bug.cgi?id=2416981

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions