mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-14 19:48:57 +01:00
try again
This commit is contained in:
parent
ad4d460591
commit
5008606c4c
1 changed files with 1 additions and 4 deletions
|
@ -110,10 +110,7 @@ class TestJobQueue:
|
|||
# Unfortunately, we can't really test the executor setting explicitly without relying
|
||||
# on protected attributes. However, this should be tested enough implicitly via all the
|
||||
# other tests in here
|
||||
tz = job_queue.scheduler_configuration["timezone"]
|
||||
print(tz, repr(tz), type(tz))
|
||||
print(UTC, repr(UTC), type(UTC))
|
||||
assert job_queue.scheduler_configuration["timezone"] is UTC
|
||||
assert job_queue.scheduler_configuration["timezone"] is dtm.timezone.utc
|
||||
|
||||
tz_app = ApplicationBuilder().defaults(Defaults(tzinfo=timezone)).token(bot.token).build()
|
||||
assert tz_app.job_queue.scheduler_configuration["timezone"] is timezone
|
||||
|
|
Loading…
Add table
Reference in a new issue