This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdm run pytest [23:39:33] | |
================================================================== test session starts ================================================================== | |
platform darwin -- Python 3.7.12, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 | |
rootdir: /Users/laike9m/Dev/Python/pdir2 | |
plugins: hypothesis-6.21.0, mypy-0.8.1 | |
collected 0 items / 1 error | |
======================================================================== ERRORS ========================================================================= | |
_____________________________________________________________ ERROR collecting test session _____________________________________________________________ | |
__pypackages__/3.7/lib/_pytest/config/__init__.py:570: in _importconftest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tests how EXTENDED_ARG works | |
import bytecode | |
import dis | |
import sys | |
from bytecode import ConcreteInstr, ConcreteBytecode | |
CONST_ARG = 0x1234567 # The real argument we want to set. | |
cbc = bytecode.ConcreteBytecode() | |
cbc.consts = [None] * (CONST_ARG + 1) # Make sure co_consts is big enough. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The goal of this program is to obtain a HEALTHY | |
* and SUSTAINABLE relationship, darling. | |
* | |
* @author Cassie Wei from Mili | |
*/ | |
public class sustainPlusPlus { | |
public static void main(String[] args) { | |
World world = new World(); | |
Life me = new Ghost(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from requests.adapters import HTTPAdapter | |
from threading import Thread | |
import logging | |
logging.basicConfig(filename='out.txt', level=logging.DEBUG, filemode='w') | |
requests_log = logging.getLogger("requests.packages.urllib3") | |
requests_log.setLevel(logging.DEBUG) | |
requests_log.propagate = True |
OlderNewer