Author: Armin Rigo <[email protected]>
Branch: reverse-debugger
Changeset: r86135:6a05c5fb0a03
Date: 2016-08-11 10:02 +0200
http://bitbucket.org/pypy/pypy/changeset/6a05c5fb0a03/
Log: fix test
diff --git a/rpython/translator/revdb/test/test_weak.py
b/rpython/translator/revdb/test/test_weak.py
--- a/rpython/translator/revdb/test/test_weak.py
+++ b/rpython/translator/revdb/test/test_weak.py
@@ -203,6 +203,7 @@
assert time == i + 1
y = intmask(rdb.next('q')); assert y == -1
triggered = True
+ rdb.gil_release()
rdb.same_stack()
j = rdb.next()
assert j == i + 1000000 * triggered
@@ -215,6 +216,7 @@
assert uid > 0 and uid not in uid_seen
uid_seen.add(uid)
lst.append(uid)
+ rdb.gil_release()
rdb.same_stack()
totals.append((lst, intmask(rdb.next())))
x = rdb.next('q'); assert x == 3000 # number of stop points
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit