mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #20452: Remove debug code, no more needed
This commit is contained in:
parent
323748e1d1
commit
49d0f4e428
2 changed files with 2 additions and 22 deletions
|
|
@ -28,15 +28,6 @@ from asyncio import events
|
|||
from asyncio import selector_events
|
||||
from asyncio import test_utils
|
||||
|
||||
# FIXME: remove these info, used for debug purpose (issue #20452)
|
||||
print("time.monotonic() info: %r" % (time.get_clock_info('monotonic'),))
|
||||
try:
|
||||
SC_CLK_TCK = os.sysconf('SC_CLK_TCK')
|
||||
print("os.sysconf('SC_CLK_TCK') = %s" % SC_CLK_TCK)
|
||||
except Exception:
|
||||
pass
|
||||
# FIXME: remove these info, used for debug purpose (issue #20452)
|
||||
|
||||
|
||||
def data_file(filename):
|
||||
if hasattr(support, 'TEST_HOME_DIR'):
|
||||
|
|
@ -1186,10 +1177,7 @@ class EventLoopTestsMixin:
|
|||
|
||||
self.loop.run_until_complete(wait())
|
||||
calls.append(self.loop._run_once_counter)
|
||||
self.assertEqual(calls, [1, 3, 5, 6],
|
||||
# FIXME: remove these info, used for debug purpose (issue #20452)
|
||||
(self.loop._granularity,
|
||||
self.loop._selector.resolution))
|
||||
self.assertEqual(calls, [1, 3, 5, 6])
|
||||
|
||||
|
||||
class SubprocessTestsMixin:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue