mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +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
6
third_party/python/pyconfig.h
vendored
6
third_party/python/pyconfig.h
vendored
|
@ -446,6 +446,9 @@
|
|||
/* Define to 1 if you have the `gettimeofday' function. */
|
||||
#define HAVE_GETTIMEOFDAY 1
|
||||
|
||||
/* Define to 1 if you have the `getuid' function. */
|
||||
#define HAVE_GETUID 1
|
||||
|
||||
/* Define to 1 if you have the `getwd' function. */
|
||||
/* #undef HAVE_GETWD */
|
||||
|
||||
|
@ -654,6 +657,9 @@
|
|||
/* Define to 1 if you have the `pause' function. */
|
||||
#define HAVE_PAUSE 1
|
||||
|
||||
/* Define to 1 if you have the `pipe' function. */
|
||||
#define HAVE_PIPE 1
|
||||
|
||||
/* Define to 1 if you have the `pipe2' function. */
|
||||
#define HAVE_PIPE2 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue