Search code examples
How to mock imported module class in pytest...

pytestmonkeypatchingpytest-mock

Read More
fastai.fastcore patch decorator vs simple monkey-patching...

pythonpython-3.xmonkeypatchingfast-ai

Read More
Python: monkey patch a function used by classes in the same module...

pythonpython-modulemonkeypatching

Read More
How to monkeypatch dunder methods to existing instances?...

pythonpython-3.xmonkeypatchingdynamic-typing

Read More
How to assert a monkey patch was called in pytest?...

python-3.xpython-requestsmockingpytestmonkeypatching

Read More
Can I add custom methods/attributes to built-in Python types?...

pythoncustom-attributesmonkeypatchingbuilt-in-types

Read More
how to mock a function in pytest monkeypatch?...

pythonpytestmonkeypatching

Read More
How to override (monkeypatch) the document and element specific `querySelector` implementations and ...

javascriptmonkeypatchingqueryselectordefinepropertypropertydescriptor

Read More
How to mock a function, that is imported within an imported method from different module...

pythonunit-testingmockingmonkeypatching

Read More
How to use a refinement to change the output of { now: Time.now }.inspect to be customized?...

rubymonkeypatchingrefinements

Read More
Chrome extension on an extension?...

google-chromegoogle-chrome-extensionmonkeypatching

Read More
How to modify a behavior of `pathlib.Path`?...

pythonwrappermonkeypatchingpathlib

Read More
Why doesn't the `nonlocal` keyword propogate the outer-scoped variable to the calling module?...

pythonscopepytestmonkeypatchingpython-nonlocal

Read More
Adding a method to an existing object instance in Python...

pythonoopmethodsmonkeypatching

Read More
Python: Fix missing import with a monkey patch...

pythongdbmonkeypatching

Read More
How to implement Ruby max_by to return all elements which have the maximum value?...

arraysrubysortingmonkeypatchingmaxima

Read More
Dynamically monkey patch a python 2.7 class...

pythonpython-decoratorsmonkeypatching

Read More
ValueError: object has no field when using monkeypatch.setattr on a pydantic.BaseModel's method...

pythonpytestpydanticmonkeypatching

Read More
Golang monkey patching...

gomockingmonkeypatching

Read More
How to make a `unittest.mock._patch` instance subscriptable and iterable...

pythonmockingpytestpython-unittestmonkeypatching

Read More
How to test exceptions in mock unittests for non-deterministic functions?...

pythonunit-testingmockingmonkeypatching

Read More
Extending builtin classes in python...

pythonstringmonkeypatching

Read More
Overriding method python class of a pip module to update its behavior globally...

pythondjangooopoverridingmonkeypatching

Read More
Pickling array.array in 2.4 using cPickle...

pythonpicklemonkeypatchingpython-2.4

Read More
Why use a superclass's __init__ to change it into a subclass?...

pythondesign-patternssubclasssuperclassmonkeypatching

Read More
Changing monkeypatch setattr multiple times...

pythonmockingpytestmonkeypatching

Read More
Avoiding running top-level module code in unit test...

pythonunit-testingmonkeypatching

Read More
How to monkeypatch a python library class method?...

pythonpython-3.xmonkeypatching

Read More
How can I prevent loadstring from getting hooked like this...

luamonkeypatchingcopy-protection

Read More
When monkey patching an instance method, can you call the overridden method from the new implementat...

rubymonkeypatching

Read More
BackNext