File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
testing/web-platform/tests/webdriver/tests/bidi/emulation/set_timezone_override Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ async def default_timezone(get_current_timezone, top_context):
3232@pytest .fixture
3333def some_timezone (default_timezone ):
3434 """
35- Returns some timezone which is not equal to `default_timezone` nor to
36- `another_timezone`.
35+ Returns some timezone which is not equal to `default_timezone`.
3736 """
3837 for timezone in TIMEZONES :
3938 if timezone != default_timezone :
@@ -50,11 +49,11 @@ def another_timezone(default_timezone, some_timezone):
5049 `some_timezone`.
5150 """
5251 for timezone in TIMEZONES :
53- if timezone != default_timezone and timezone != another_timezone :
52+ if timezone != default_timezone and timezone != some_timezone :
5453 return timezone
5554
5655 raise Exception (
57- f"Unexpectedly could not find timezone different from the default { default_timezone } " )
56+ f"Unexpectedly could not find timezone different from the default { default_timezone } and { some_timezone } " )
5857
5958
6059@pytest_asyncio .fixture
You can’t perform that action at this time.
0 commit comments