aiohttp: ensure compiled python runs (#7768)

This commit is contained in:
DavidKorczynski 2022-05-26 12:09:22 +01:00 committed by GitHub
parent 35d9b115e7
commit c2c093ddac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,10 @@
import os
AIOHTTP_VAL=0
os.environ["AIOHTTP_NO_EXTENSIONS"] = str(AIOHTTP_VAL)
if AIOHTTP_VAL == 0:
os.environ["AIOHTTP_NO_EXTENSIONS"] = ""
else:
os.environ["AIOHTTP_NO_EXTENSIONS"] = "1"
import sys
import atheris

View File

@ -15,7 +15,10 @@
import os
AIOHTTP_VAL=0
os.environ["AIOHTTP_NO_EXTENSIONS"] = str(AIOHTTP_VAL)
if AIOHTTP_VAL == 0:
os.environ["AIOHTTP_NO_EXTENSIONS"] = ""
else:
os.environ["AIOHTTP_NO_EXTENSIONS"] = "1"
import sys
import atheris