python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to patch a class in the right place
I am having trouble to patch a class that is imported and set in a dictionary.
Given these files:
lib/
foo/
conf.py
foo.py
# conf.py
from .foo import Foo
CONF = {"class": Foo}
#...

Mike
Votes: 0
Answers: 1
Running unittest using a src/package directory structure
This question is similar to this one, but my directory structure is slightly different and I think that's causing the problem.
My structure is as follows:
project/
src/
mypackage/
...
Liz C.
Votes: 0
Answers: 1
How to Unit Test prints and logging at the same time in python
Assume we have a loop and we want to print messages and log certain outputs (warnings, and errors). These printed and logged outputs will be based on certain conditions. We want to make sure these out...
nimop
Votes: 0
Answers: 1
VSCode Python test discovery not loading properly because of imports
Ive got a directory structure:
Business Logic
excel_format_error_checks.py
tests
test_excel_format_error_checks.py
When I set my import of excel_format_error_checks like below, VSCode test di...

meg hidey
Votes: 0
Answers: 1