File: python3.12.diff

package info (click to toggle)
commonmark-bkrs 0.5.4%2Bds-7.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,264 kB
  • sloc: python: 3,667; makefile: 29; sh: 8
file content (11 lines) | stat: -rw-r--r-- 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/CommonMark/test/test-CommonMark.py
+++ b/CommonMark/test/test-CommonMark.py
@@ -64,7 +64,7 @@ def showSpaces(t):
 t = re.sub("\r\n", "\n", data)
 
 tests = re.sub("^<!-- END TESTS -->(.|[\n])*", '', t, flags=re.M)
-testMatch = re.findall(re.compile("^\.\n([\s\S]*?)^\.\n([\s\S]*?)^\.$|^#{1,6} *(.*)$", re.M), tests)
+testMatch = re.findall(re.compile("^\.\n([\s\S]*?)^\.\n([\s\S]*?)^.$|^#{1,6} *(.*)$", re.M), tests)
 
 for match in testMatch:
 	if not match[2] == "":