pyo3/pytests/tests
Aneesh Agrawal c67625d683
Revamp PyType name functions to match PEP 737 (#4196)
* Revamp PyType name functions to match PEP 737

PyType::name uses `tp_name`, which is not consistent.
[PEP 737](https://peps.python.org/pep-0737/) adds a new path forward,
so update PyType::name and add PyType::{module,fully_qualified_name}
to match the PEP.

* refactor conditional code to handle multiple Python versions better

* return `Bound<'py, str>`

* fixup

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-06-22 22:10:27 +00:00
..
test_awaitable.py Basic GraalPy Support (#3247) 2024-03-25 18:54:52 +00:00
test_buf_and_str.py Add `PyMemoryView` type 2023-10-15 17:32:09 +08:00
test_comparisons.py Fix bug in default implementation of `__ne__` 2023-10-11 09:48:06 +01:00
test_datetime.py make datetime from timestamp tests compare against Python result (#4275) 2024-06-22 22:09:59 +00:00
test_dict_iter.py pytests: merge benchmark and test crates 2022-02-05 10:16:46 +00:00
test_enums.py feat: support pyclass on tuple enums (#4072) 2024-05-17 02:59:00 +00:00
test_enums_match.py feat: support pyclass on tuple enums (#4072) 2024-05-17 02:59:00 +00:00
test_misc.py Revamp PyType name functions to match PEP 737 (#4196) 2024-06-22 22:10:27 +00:00
test_objstore.py Basic GraalPy Support (#3247) 2024-03-25 18:54:52 +00:00
test_othermod.py update black to 22.1.0 2022-02-14 07:42:06 +00:00
test_path.py Makes PathBuf FromPyObject implementation work on all os.PathLike 2023-08-08 22:15:56 +02:00
test_pyclasses.py fix `__dict__` on Python 3.9 with limited API (#4251) 2024-06-16 07:57:44 +00:00
test_pyfunctions.py make rust benchmarks more similar to the Python ones 2023-01-20 07:24:05 +00:00
test_sequence.py ci: avoid failure to build numpy on 3.12 2023-07-22 21:38:57 +01:00
test_subclassing.py ci: switch from black to ruff 2023-10-26 21:04:49 +01:00