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 f00dd967 authored by eckhart's avatar eckhart
Browse files

- small cleanups

parent e5f8370f
...@@ -279,6 +279,7 @@ def expand_table(compact_table: Dict) -> Dict: ...@@ -279,6 +279,7 @@ def expand_table(compact_table: Dict) -> Dict:
return expanded_table return expanded_table
####################################################################### #######################################################################
# #
# miscellaneous (DHParser-specific) # miscellaneous (DHParser-specific)
......
...@@ -181,7 +181,6 @@ class TestNodeFind(): ...@@ -181,7 +181,6 @@ class TestNodeFind():
tree = mock_syntax_tree('(a (b X) (X (c d)) (e (X F)))') tree = mock_syntax_tree('(a (b X) (X (c d)) (e (X F)))')
assert tree[0] == mock_syntax_tree('(b X)') assert tree[0] == mock_syntax_tree('(b X)')
assert tree[2] == mock_syntax_tree('(e (X F))') assert tree[2] == mock_syntax_tree('(e (X F))')
print(flatten_sxpr(tree[0].as_sxpr()))
try: try:
node = tree[3] node = tree[3]
assert False, "IndexError expected!" assert False, "IndexError expected!"
...@@ -189,7 +188,6 @@ class TestNodeFind(): ...@@ -189,7 +188,6 @@ class TestNodeFind():
pass pass
matches = list(tree['X']) matches = list(tree['X'])
assert matches[0] == mock_syntax_tree('(X (c d))') assert matches[0] == mock_syntax_tree('(X (c d))')
print(flatten_sxpr(matches[0].as_sxpr()))
assert matches[1] == mock_syntax_tree('(X F)') assert matches[1] == mock_syntax_tree('(X F)')
def test_contains(self): def test_contains(self):
......
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