Skip to content

Commit

Permalink
allow dms requirement test regex to match multiline function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Oct 2, 2024
1 parent 841ef49 commit 0e28096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/tests/test_dms_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_requirements():
}

existing_tests = set()
test_regex = re.compile(r"def (test_[^\(]+)\(.*\):")
test_regex = re.compile(r"def (test_[^\(]+)\(")
for test_filename in test_directory.glob("**/test_*.py"):
with open(test_filename) as test_file:
test_file_contents = test_file.read()
Expand Down

0 comments on commit 0e28096

Please sign in to comment.