[pypy-commit] pypy stmgc-c7: Kill this test too
arigo
noreply at buildbot.pypy.org
Thu Aug 7 20:45:08 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r72710:36d2641627cf
Date: 2014-08-07 17:41 +0200
http://bitbucket.org/pypy/pypy/changeset/36d2641627cf/
Log: Kill this test too
diff --git a/rpython/rlib/test/test_rstm.py b/rpython/rlib/test/test_rstm.py
--- a/rpython/rlib/test/test_rstm.py
+++ b/rpython/rlib/test/test_rstm.py
@@ -4,20 +4,3 @@
def test_symbolics():
assert rstm.adr_nursery_free == rstm.adr_nursery_free
assert rstm.adr_nursery_free != rstm.adr_nursery_top
-
-def test_tlref_untranslated():
- class FooBar(object):
- pass
- t = rstm.ThreadLocalReference(FooBar)
- results = []
- def subthread():
- x = FooBar()
- results.append(t.get() is None)
- t.set(x)
- results.append(t.get() is x)
- time.sleep(0.2)
- results.append(t.get() is x)
- for i in range(5):
- thread.start_new_thread(subthread, ())
- time.sleep(0.5)
- assert results == [True] * 15
More information about the pypy-commit
mailing list