Skip to content

Commit e8c8932

Browse files
committed
Clarify manual-testing directions
1 parent 2dd25f0 commit e8c8932

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

hypothesis-python/src/_hypothesis_ftz_detector.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,11 @@ def key(name):
139139
if __name__ == "__main__":
140140
# This would be really really annoying to write automated tests for, so I've
141141
# done some manual exploratory testing: `pip install grequests gevent==21.12.0`,
142-
# delete gevent from the known-ftz set and reverse-alphabetical sort so we land
143-
# on grequests before gevent, and call print() as desired to observe behavior.
142+
# and call print() as desired to observe behavior.
144143
import grequests # noqa
145144

145+
# To test without skipping to a known answer, uncomment the following line and
146+
# change the last element of key from `name` to `-len(name)` so that we check
147+
# grequests before gevent.
148+
## KNOWN_EVER_CULPRITS = [c for c in KNOWN_EVER_CULPRITS if c != "gevent"]
146149
print(identify_ftz_culprits())

0 commit comments

Comments
 (0)