Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing 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): ...@@ -277,9 +277,7 @@ class Node(collections.abc.Sized):
def __str__(self): def __str__(self):
# s = self._content if self._content is not None else \ s = "".join(str(child) for child in self.children) if self.children else self.content
# "".join(str(child) for child in self.children) if self.children else self.content
s = self.content
if self.errors: if self.errors:
return ' <<< Error on "%s" | %s >>> ' % \ return ' <<< Error on "%s" | %s >>> ' % \
(s, '; '.join(e.message for e in self.errors)) (s, '; '.join(e.message for e in self.errors))
......
#!/bin/sh #!/bin/sh
# CFLAGS="-O3 -march=native -mtune=native" # 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): ...@@ -237,7 +237,7 @@ class LaTeXGrammar(Grammar):
paragraph = Forward() paragraph = Forward()
tabular_config = Forward() tabular_config = Forward()
text_element = Forward() text_element = Forward()
source_hash__ = "79c6f2eaa821f7e92346e0ff24e7c5f8" source_hash__ = "1329c620430169c2cbeff23b05e049c3"
parser_initialization__ = "upon instantiation" parser_initialization__ = "upon instantiation"
COMMENT__ = r'%.*' COMMENT__ = r'%.*'
WHITESPACE__ = r'[ \t]*(?:\n(?![ \t]*\n)[ \t]*)?' WHITESPACE__ = r'[ \t]*(?:\n(?![ \t]*\n)[ \t]*)?'
......
#!/usr/bin/python #!/usr/bin/python
"""Runs the dhparser test-suite with several installed interpreters"""
if __name__ == "__main__": if __name__ == "__main__":
import os import os
...@@ -8,9 +10,10 @@ if __name__ == "__main__": ...@@ -8,9 +10,10 @@ if __name__ == "__main__":
# print("Running nosetests:") # print("Running nosetests:")
# os.system("nosetests test") # os.system("nosetests test")
interpreter = 'python ' interpreters = ['python ', 'pypy3 ', 'python37 ']
# interpreter = r'C:\Users\di68kap\AppData\Local\Programs\Python\Python37-32\python.exe ' # interpreters = [r'C:\Users\di68kap\AppData\Local\Programs\Python\Python37-32\python.exe ']
for interpreter in interpreters:
os.system(interpreter + '--version') os.system(interpreter + '--version')
assert os.getcwd().endswith('test') 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