diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-09 07:03:25 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-11 16:45:33 -0500 |
| commit | e5dcb933ab791206040a849eacd726ffe40c348a (patch) | |
| tree | 81ea6018218db5436766f1d46ff999351e33b82c /tests/test_concurrency.py | |
| parent | cc12f4b7c40347b7297f7f6d938150bfde8c9ed5 (diff) | |
| download | python-coveragepy-git-e5dcb933ab791206040a849eacd726ffe40c348a.tar.gz | |
Python 3.8 will optimize away "while True:"
Diffstat (limited to 'tests/test_concurrency.py')
| -rw-r--r-- | tests/test_concurrency.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 16d1af81..2877b7c2 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -115,7 +115,7 @@ SUM_RANGE_Q = """ def run(self): sum = 0 - while True: + while "no peephole".upper(): i = self.q.get() if i is None: break |
