mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Begin incorporating Python unit tests into build
We now build a separate APE binary for each test so they can run in parallel. We've got 148 tests running fast and stable so far.
This commit is contained in:
parent
51904e2687
commit
b5f743cdc3
121 changed files with 4995 additions and 4767 deletions
4
third_party/python/Lib/test/test_bz2.py
vendored
4
third_party/python/Lib/test/test_bz2.py
vendored
|
@ -14,6 +14,7 @@ import sys
|
|||
from test.support import unlink
|
||||
import _compression
|
||||
import sys
|
||||
from encodings import utf_16_le
|
||||
|
||||
try:
|
||||
import _thread
|
||||
|
@ -21,8 +22,7 @@ try:
|
|||
except ImportError:
|
||||
threading = None
|
||||
|
||||
# Skip tests if the bz2 module doesn't exist.
|
||||
bz2 = support.import_module('bz2')
|
||||
import bz2
|
||||
from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor
|
||||
|
||||
has_cmdline_bunzip2 = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue