@@ -77,7 +77,7 @@ def test_tweak_patchlevel(tmp_path: Path) -> None:
7777 "expected_underline" ,
7878 "expected_whatsnew" ,
7979 "expected_docs" ,
80- "expected_release_details_text " ,
80+ "expected_pep_line " ,
8181 ],
8282 [
8383 (
@@ -86,31 +86,31 @@ def test_tweak_patchlevel(tmp_path: Path) -> None:
8686 "=====================================" ,
8787 "3.14 <https://docs.python.org/3.14/whatsnew/3.14.html>`_" ,
8888 "`Documentation for Python 3.14 <https://docs.python.org/3.14/>`_" ,
89- "for Python 3.14 release details " ,
89+ "`PEP 745 <https://peps.python.org/pep-0745/>`__ for Python 3.14" ,
9090 ),
9191 (
9292 "3.14.0b2" ,
9393 "This is Python version 3.14.0 beta 2" ,
9494 "====================================" ,
9595 "3.14 <https://docs.python.org/3.14/whatsnew/3.14.html>`_" ,
9696 "`Documentation for Python 3.14 <https://docs.python.org/3.14/>`_" ,
97- "for Python 3.14 release details " ,
97+ "`PEP 745 <https://peps.python.org/pep-0745/>`__ for Python 3.14" ,
9898 ),
9999 (
100100 "3.14.0rc2" ,
101101 "This is Python version 3.14.0 release candidate 2" ,
102102 "=================================================" ,
103103 "3.14 <https://docs.python.org/3.14/whatsnew/3.14.html>`_" ,
104104 "`Documentation for Python 3.14 <https://docs.python.org/3.14/>`_" ,
105- "for Python 3.14 release details " ,
105+ "`PEP 745 <https://peps.python.org/pep-0745/>`__ for Python 3.14" ,
106106 ),
107107 (
108108 "3.15.1" ,
109109 "This is Python version 3.15.1" ,
110110 "=============================" ,
111111 "3.15 <https://docs.python.org/3.15/whatsnew/3.15.html>`_" ,
112112 "`Documentation for Python 3.15 <https://docs.python.org/3.15/>`_" ,
113- "for Python 3.15 release details " ,
113+ "`PEP 790 <https://peps.python.org/pep-0790/>`__ for Python 3.15" ,
114114 ),
115115 ],
116116)
@@ -121,7 +121,7 @@ def test_tweak_readme(
121121 expected_underline : str ,
122122 expected_whatsnew : str ,
123123 expected_docs : str ,
124- expected_release_details_text : str ,
124+ expected_pep_line : str ,
125125) -> None :
126126 # Arrange
127127 tag = release .Tag (test_tag )
@@ -141,4 +141,4 @@ def test_tweak_readme(
141141 assert new_lines [1 ] == expected_underline
142142 assert expected_whatsnew in new_contents
143143 assert expected_docs in new_contents
144- assert expected_release_details_text in new_contents
144+ assert expected_pep_line in new_contents
0 commit comments