Skip to content

Commit

Permalink
remove curly brace check and dotall
Browse files Browse the repository at this point in the history
  • Loading branch information
Clockwork-Rat committed Feb 27, 2024
1 parent a71c2a9 commit fb2e3a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions q2_feature_table/tests/test_summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,9 @@ def test_basic(self):
sample_frequency_fp = os.path.join(output_dir,
'sample-frequency-detail.html')
self.assertTrue(os.path.exists(sample_frequency_fp))
re.DOTALL = True

rx = (r'<script id="table-data" type="application/json">' +
r'\n\{[^}]*\}\n</script>')
r'\n.*[^}]*.*\n</script>')

with open(sample_frequency_fp) as fi:
text = fi.read()
Expand Down

0 comments on commit fb2e3a0

Please sign in to comment.