Skip to content

Commit 4daf534

Browse files
committed
Revert "Optimize test_print.py to reduce its time to run"
This reverts commits bc04009 d857958. Signed-off-by: Ziheng Deng <zihengd@nvidia.com>
1 parent 84daa7d commit 4daf534

2 files changed

Lines changed: 209 additions & 89 deletions

File tree

docs/source/_ext/doctest_ext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
import ctypes
3333
import os
34-
import sys
3534
import re
3635
import tempfile
3736
import textwrap
@@ -47,7 +46,7 @@
4746
from sphinx.util import logging as sphinx_logging
4847
logger = sphinx_logging.getLogger(__name__)
4948

50-
_libc = ctypes.CDLL('ucrtbase' if sys.platform == 'win32' else None)
49+
_libc = ctypes.CDLL(None)
5150

5251

5352
class _FdCaptureOut:

0 commit comments

Comments
 (0)