Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Feb 15, 2024
1 parent 95795ca commit 0065fb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changes

## telingo-2.1.2
* fix tests for clingo 5.7.0

## telingo-2.1.1
* fix issues with application

Expand Down
2 changes: 1 addition & 1 deletion telingo/tests/transformers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_theory(self):
def transform(p):
r = []
def append(s):
if s.ast_type != ast.ASTType.TheoryDefinition:
if s.ast_type != ast.ASTType.TheoryDefinition and s.ast_type != ast.ASTType.Comment:
r.append(str(s).replace(". [false]", "."))
f, c = _tfs.transform([p], append)
return r, f, c
Expand Down

0 comments on commit 0065fb8

Please sign in to comment.