Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pydocstyle check: add leading underscore (PT004) #43843

Merged
merged 1 commit into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
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 dev/breeze/tests/test_run_test_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def mock_get_excluded_provider_folders():


@pytest.fixture(autouse=True)
def mock_sleep():
def _mock_sleep():
"""_run_test does a 10-second sleep in CI, so we mock the sleep function to save CI test time."""
with patch("airflow_breeze.commands.testing_commands.sleep"):
yield
Expand Down
4 changes: 2 additions & 2 deletions tests/always/test_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@pytest.mark.backend("postgres", "mysql")
class TestPandasSQLAlchemyCompatibility:
@pytest.fixture(autouse=True)
def setup_test_cases(self):
def _setup_test_cases(self):
self.temp_table = "test_to_pandas"
uri = conf.get_mandatory_value("database", "sql_alchemy_conn")
self.engine = create_engine(uri)
Expand All @@ -45,7 +45,7 @@ def test_write_read_to_db(self):

class TestPandasSQLAlchemyCompatibilitySQLite:
@pytest.fixture(autouse=True)
def setup_test_cases(self):
def _setup_test_cases(self):
self.temp_table = "test_to_pandas"
self.engine = create_engine("sqlite:///:memory:")
yield
Expand Down