summaryrefslogtreecommitdiff
path: root/tests/farm/html/src
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-12 07:08:15 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-12 07:30:15 -0500
commitdcb66aee618d971f4b62b89fbca8050ca8013f2c (patch)
tree69d2ad1a56c614b6a1a2168f3e86d07554af3e63 /tests/farm/html/src
parent24c5d84084622669739e285ecb893dfa0d7e4cc0 (diff)
downloadpython-coveragepy-git-dcb66aee618d971f4b62b89fbca8050ca8013f2c.tar.gz
Update an HTML gold test due to new peephole optimizations (adapted from master)
Diffstat (limited to 'tests/farm/html/src')
-rw-r--r--tests/farm/html/src/partial.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/farm/html/src/partial.py b/tests/farm/html/src/partial.py
index 0f8fbe3c..cdcc64b5 100644
--- a/tests/farm/html/src/partial.py
+++ b/tests/farm/html/src/partial.py
@@ -5,10 +5,7 @@
a = 6
-while True:
- break
-
-while 1:
+while "no peephole".upper():
break
while a: # pragma: no branch