mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
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:
committed by
GitHub
parent
ebb34196f2
commit
11cf15f8dc
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user