We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d02bd85 + e234c97 commit 3c4c05aCopy full SHA for 3c4c05a
2 files changed
hypothesis-python/RELEASE.rst
@@ -1,3 +1,3 @@
1
RELEASE_TYPE: patch
2
3
-Add ``__proto__`` to the list of constant strings Hypothesis sometimes generates.
+Add ``__dict__`` and ``__proto__`` to the list of constant strings Hypothesis sometimes generates.
hypothesis-python/src/hypothesis/internal/conjecture/providers.py
@@ -170,6 +170,8 @@
170
"if",
171
"then",
172
"else",
173
+ "__dict__",
174
+ "__proto__", # javascript
175
# strings which can be interpreted as a number
176
"0",
177
"1e100",
@@ -183,8 +185,6 @@
183
185
"INF",
184
186
"NaN",
187
"9" * 30,
- # javascript keywords
- "__proto__",
188
# common ascii characters
189
",./;'[]\\-=<>?:\"{}|_+!@#$%^&*()`~",
190
# common unicode characters
0 commit comments