Commit 7f1d9eb9 authored by Kevin Modzelewski's avatar Kevin Modzelewski Committed by Kevin Modzelewski

Get test_threading_local.py working

parent ac1fa8f3
...@@ -15,8 +15,9 @@ a thread-local object and use its attributes: ...@@ -15,8 +15,9 @@ a thread-local object and use its attributes:
42 42
You can also access the local-object's dictionary: You can also access the local-object's dictionary:
(Pyston change: changed this to dict(mydata.__dict__) to make more portable)
>>> mydata.__dict__ >>> dict(mydata.__dict__)
{'number': 42} {'number': 42}
>>> mydata.__dict__.setdefault('widgets', []) >>> mydata.__dict__.setdefault('widgets', [])
[] []
......
# expected: fail
import unittest import unittest
from doctest import DocTestSuite from doctest import DocTestSuite
from test import test_support from test import test_support
......
...@@ -141,9 +141,8 @@ test_syntax [unknown] ...@@ -141,9 +141,8 @@ test_syntax [unknown]
test_sys_setprofile [unknown] test_sys_setprofile [unknown]
test_sys_settrace [unknown] test_sys_settrace [unknown]
test_sys we're missing some attributes in the sys module (call_tracing, __excepthook__, setrecursionlimit, etc) test_sys we're missing some attributes in the sys module (call_tracing, __excepthook__, setrecursionlimit, etc)
test_tcl [unknown] test_tcl No module named _tkinter
test_threading_local [unknown] test_threading Multiple issues, including not having sys.settrace
test_threading [unknown]
test_tk [unknown] test_tk [unknown]
test_tools [unknown] test_tools [unknown]
test_traceback [unknown] test_traceback [unknown]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment