Fixes: #1464
Change-Id: I9dd5a6c48c685d347ffa35f12afb79845c347003
if self.timezone is not None:
if ZoneInfo is None:
raise util.CommandError(
- "Python >= 3.9 is required for timezone support or"
+ "Python >= 3.9 is required for timezone support or "
"the 'backports.zoneinfo' package must be installed."
)
# First, assume correct capitalization
with patch("alembic.script.base.ZoneInfo", new=None):
with expect_raises_message(
CommandError,
- "Python >= 3.9 is required for timezone support or"
+ "Python >= 3.9 is required for timezone support or "
"the 'backports.zoneinfo' package must be installed.",
):
self._test_tz(