mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Test changes to Actually Portable Python (#240)
- Add missing `os.pipe` and `os.getuid` - Commented out _dummy_thread from Lib/threading.py so tests don't simulate multi-threading and waste time/error out - Revert test_hashlib to avoid blake2
This commit is contained in:
parent
a22f0736d8
commit
1aa0df696c
5 changed files with 20 additions and 3 deletions
5
third_party/python/Lib/test/test_code.py
vendored
5
third_party/python/Lib/test/test_code.py
vendored
|
@ -104,7 +104,10 @@ consts: ('None',)
|
|||
|
||||
import inspect
|
||||
import sys
|
||||
import threading
|
||||
try:
|
||||
import threading
|
||||
except ImportError as e:
|
||||
threading = None
|
||||
import unittest
|
||||
import weakref
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue