-
There is a lot of user code out there that uses matplotlib convenience functions which wrap numpy. It would be nice if we could monkeypatch matplotlib to use cunumeric.
Here is an example:
```
i…
-
The following code works with 2.5.2, but not 2.6.0
```python
from typing import TypeVar
from pytest import MonkeyPatch
from pydantic import BaseModel
from pydantic import BaseModel
from pydant…
-
Currently, some of the tests in the original `test_sqlalchemy_store.py` are failing due to various reasons. We decided to temporarily override those with empty tests, however the best solution is to r…
-
Something I see sometimes in my pytest company trainings is people accidentally doing:
```python
def test_something(self):
...
```
because they're using to writing things in classes (e.g.…
-
The few gcp-related tests seem to be failing. I think they're trying to mock CPython implementation details:
```pytb
$ EPYTHON=pypy3 make test
# Create our Python 3 virtual environment
python3 -…
-
As discussed in #2870 which addressed #2869, our existing ViewComponent instrumentation had been making use of a private API which was well within its rights to change without us knowing about it. We …
-
Ever wanted to hook a function in the standard library? Want to do something to your TCP socket before it gets added to the poller? Me too!
-
### Overview
When working with Solidity or Vyper contracts, the ability to monkeypatch named constants in source code (e.g. address literals, parameter defaults, etc.) would be really handy.
### S…
-
When trying to monkeypatch a copy of `html.parser`, markdown fails when `html.parser` comes from a zip file and an instance of `zipimporter` is used as the loader.
## To reproduce
1. Download an…
-
Some tests can be fundamentally not amenable for parallel execution. For instance:
- threads that use the `capsys` fixture to inspect what is written to `sys.stdout` and `sys.stderr`;
- tests that…