This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 14aa545ad84 chore: add leading underscore (#43843)
14aa545ad84 is described below
commit 14aa545ad84a77d230189dd7a0264c928be1c40f
Author: Lyndon Fan <[email protected]>
AuthorDate: Sat Nov 9 16:15:19 2024 +0000
chore: add leading underscore (#43843)
---
dev/breeze/tests/test_run_test_args.py | 2 +-
tests/always/test_pandas.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev/breeze/tests/test_run_test_args.py
b/dev/breeze/tests/test_run_test_args.py
index 58e341e4dfa..a2a2b4f4cf4 100644
--- a/dev/breeze/tests/test_run_test_args.py
+++ b/dev/breeze/tests/test_run_test_args.py
@@ -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
diff --git a/tests/always/test_pandas.py b/tests/always/test_pandas.py
index 8b297d30c8d..d78f840b82b 100644
--- a/tests/always/test_pandas.py
+++ b/tests/always/test_pandas.py
@@ -28,7 +28,7 @@ pytestmark = pytest.mark.db_test
@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)
@@ -45,7 +45,7 @@ class TestPandasSQLAlchemyCompatibility:
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