Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Lib/test/test_asyncio/test_tools.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest

from asyncio import tools

import locale

# mock output of get_all_awaited_by function.
TEST_INPUTS_TREE = [
Expand Down Expand Up @@ -771,6 +771,7 @@ def test_multiple_cycles_same_node(self):
cycles = ctx.exception.cycles
self.assertTrue(any(set(c) == {1, 2, 3} for c in cycles))

@unittest.skipIf(locale.getpreferredencoding().lower() != 'utf-8', 'test requires utf-8')
def test_table_output_format(self):
input_ = [(1, [(1, "Task-A", [[["foo"], 2]]), (2, "Task-B", [])])]
table = tools.build_task_table(input_)
Expand Down
Loading