The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 6a14734a authored by eckhart's avatar eckhart
Browse files

- fixed doctest and syntaxtree.Node.__str__()

parent 37746fdc
......@@ -277,9 +277,7 @@ class Node(collections.abc.Sized):
def __str__(self):
# s = self._content if self._content is not None else \
# "".join(str(child) for child in self.children) if self.children else self.content
s = self.content
s = "".join(str(child) for child in self.children) if self.children else self.content
if self.errors:
return ' <<< Error on "%s" | %s >>> ' % \
(s, '; '.join(e.message for e in self.errors))
......
#!/bin/sh
# CFLAGS="-O3 -march=native -mtune=native"
python3 setup.py build_ext --inplace
python37 setup.py build_ext --inplace
......@@ -237,7 +237,7 @@ class LaTeXGrammar(Grammar):
paragraph = Forward()
tabular_config = Forward()
text_element = Forward()
source_hash__ = "79c6f2eaa821f7e92346e0ff24e7c5f8"
source_hash__ = "1329c620430169c2cbeff23b05e049c3"
parser_initialization__ = "upon instantiation"
COMMENT__ = r'%.*'
WHITESPACE__ = r'[ \t]*(?:\n(?![ \t]*\n)[ \t]*)?'
......
#!/usr/bin/python
"""Runs the dhparser test-suite with several installed interpreters"""
if __name__ == "__main__":
import os
......@@ -8,9 +10,10 @@ if __name__ == "__main__":
# print("Running nosetests:")
# os.system("nosetests test")
interpreter = 'python '
# interpreter = r'C:\Users\di68kap\AppData\Local\Programs\Python\Python37-32\python.exe '
interpreters = ['python ', 'pypy3 ', 'python37 ']
# interpreters = [r'C:\Users\di68kap\AppData\Local\Programs\Python\Python37-32\python.exe ']
for interpreter in interpreters:
os.system(interpreter + '--version')
assert os.getcwd().endswith('test')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment