summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2023-08-01 20:10:54 (GMT)
committerGitHub <noreply@github.com>2023-08-01 20:10:54 (GMT)
commit030f6b1e84274616c22666f27c5695867ab85833 (patch)
tree9ad8be05856535bb6b03879ca4d52b3ed5f882df /Lib
parent2bd04d423404e5ea862c858f62af76feade4d831 (diff)
downloadcpython-030f6b1e84274616c22666f27c5695867ab85833.zip
cpython-030f6b1e84274616c22666f27c5695867ab85833.tar.gz
cpython-030f6b1e84274616c22666f27c5695867ab85833.tar.bz2
gh-104683: Argument clinic: remove the `LandMine` class (#107541)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_clinic.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_clinic.py b/Lib/test/test_clinic.py
index 5e74b4f..6100444 100644
--- a/Lib/test/test_clinic.py
+++ b/Lib/test/test_clinic.py
@@ -331,8 +331,7 @@ class ClinicWholeFileTest(_ParserBase):
[clinic start generated code]*/
""")
msg = (
- "Stepped on a land mine, trying to access attribute 'noaccess':\n"
- "Don't access members of self.function inside converter_init!"
+ "accessing self.function inside converter_init is disallowed!"
)
self.assertIn(msg, out)