Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r91844:93580eb8c58e
Date: 2017-07-08 17:16 +0200
http://bitbucket.org/pypy/pypy/changeset/93580eb8c58e/
Log: Fix test
diff --git a/pypy/module/thread/test/test_local.py
b/pypy/module/thread/test/test_local.py
--- a/pypy/module/thread/test/test_local.py
+++ b/pypy/module/thread/test/test_local.py
@@ -73,13 +73,13 @@
assert tags == ['???']
def test_local_init2(self):
- import thread
+ import _thread
class A(object):
def __init__(self, n):
assert n == 42
self.n = n
- class X(thread._local, A):
+ class X(_thread._local, A):
pass
x = X(42)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit