Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/client/bats_client/gui/main_window.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

import logging
#import logging this should raise an error
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Reintroduce logging import before logger initialization

Commenting out logging causes logger = logging.getLogger(__name__) to raise NameError at import time, so importing bats_client.gui.main_window fails immediately. This is a universal runtime break (e.g., app startup or any code path that imports this module) rather than a conditional edge case.

Useful? React with 👍 / 👎.

from typing import TYPE_CHECKING

from qtpy.QtWidgets import (
Expand Down