Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63345:42d34fd157c8
Date: 2013-04-14 14:38 -0700
http://bitbucket.org/pypy/pypy/changeset/42d34fd157c8/
Log: PyThreadState_Get now abort()s here so skip the check
diff --git a/pypy/module/cpyext/test/test_pystate.py
b/pypy/module/cpyext/test/test_pystate.py
--- a/pypy/module/cpyext/test/test_pystate.py
+++ b/pypy/module/cpyext/test/test_pystate.py
@@ -56,11 +56,6 @@
return PyLong_FromLong(0);
}
- new_tstate = PyThreadState_Get();
- if (new_tstate != NULL) {
- return PyLong_FromLong(1);
- }
-
new_tstate = PyThreadState_Swap(old_tstate);
if (new_tstate != NULL) {
return PyLong_FromLong(2);
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit