-
Use `mock.patch` instead of manual monkey patching
-
For `weather.py` using mockito/monkey patching since the sensor Python libraries will not work in test environment.
-
It would be great if there was support for monkey patching Python3's asyncio, gevent, and other similar libs as these are becoming more popular. Python3's asyncio should be doable if socketpair was al…
-
It appears the conversion of objects to scenes is monkey patched into place. There should be a better way to do this.
-
## Describe the bug
When I add rswag-specs gem, I see the warning in Rails irb console:
```
irb: warn: can't alias context from irb_context.
```
## Steps to Test or Reproduce
- Add `gem 'rsw…
-
I still have the issue #111 in my projects, even with ts-node 8.10.2 installed.
Disabling the monkey-patching in the settings fixes things.
ankon updated
4 years ago
-
monkey patching only works if pystuck is imported first and pystuck.greenlets.patch() is called
-
https://github.com/apache/cordova-paramedic/blob/a1a8cb457adbf88680890a57de693215cd0658e7/lib/ParamedicApp.js#L107-L125
Not sure what exactly this does and if it is still needed.
-
- https://github.com/rspec/rspec-core/pull/2094
``` ruby
RSpec.configure do |config|
config.on_example_group_definition do |example_group|
example_group.examples.first.metadata[:new_key] = :new…
-
macOS
Python 3.7.3
Flask 1.0.1
bbc1 1.3
For example, run below code.
```python
from flask import Flask
from bbc1.core import bbc_app
app = Flask(__name__)
@app.route('/')
def test():…