# HG changeset patch # User FUJIWARA Katsunori # Date 1534994441 -32400 # Node ID c36846abbcd3e2103b0dcf49a3381b2e6b1aea5d # Parent a66594c5fad422499bfaf669d182e02fe3c0be32 tests: import multiple modules separately Current import-checker.py overlooks code fragment changed in this patch, because of restrictions below for a line starting code fragment. - filename must be specified before limit mark NG: cat < FILE.py OK: cat > FILE.py < FILE.py <<'EOF' OK: cat > FILE.py < import re > import sys > if sys.platform == "win32": - > import os, msvcrt + > import msvcrt + > import os > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) > topics = set() > topicre = re.compile(br':hg:`help ([a-z0-9\-.]+)`')