File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030 "GREEN_FRAMEWORK" ,
3131 "NO_EXT" ,
3232 "MONGODB_API_VERSION" ,
33- "PYMONGO_DEBUG_LOG_PATH " ,
33+ "DEBUG_LOG " ,
3434 "PYTHON_BINARY" ,
3535 "PYTHON_VERSION" ,
3636 "REQUIRE_FIPS" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def pytest_runtest_makereport(item):
1818 if _DEBUG_LOG_HANDLER is not None :
1919 outcome = yield
2020 rep = outcome .get_result ()
21- if rep .when == "call" and rep . failed :
21+ if rep .failed :
2222 _DEBUG_LOG_HANDLER .flush ()
2323 else :
2424 _DEBUG_LOG_HANDLER .clear ()
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def pytest_runtest_makereport(item):
1616 if _DEBUG_LOG_HANDLER is not None :
1717 outcome = yield
1818 rep = outcome .get_result ()
19- if rep .when == "call" and rep . failed :
19+ if rep .failed :
2020 _DEBUG_LOG_HANDLER .flush ()
2121 else :
2222 _DEBUG_LOG_HANDLER .clear ()
You can’t perform that action at this time.
0 commit comments