chore: Fix deprecated unittest aliases for Python 3.11 compatibility. (#17562)

* chore: Fix deprecated unittest aliases for Python 3.11 compatibility.

* chore: Cache pip dependencies.

* chore: Cache more pip dependencies.
This commit is contained in:
Karthikeyan Singaravelan
2021-11-26 21:51:01 +05:30
committed by GitHub
parent ebb34196f2
commit 11cf15f8dc
7 changed files with 31 additions and 4 deletions

View File

@@ -200,7 +200,7 @@ class TestBigQueryDbEngineSpec(TestDbEngineSpec):
# Test check for missing schema.
sys.modules["google.oauth2"] = mock.MagicMock()
for invalid_kwarg in invalid_kwargs:
self.assertRaisesRegexp(
self.assertRaisesRegex(
Exception,
"The table schema must be defined",
BigQueryEngineSpec.df_to_sql,