Skip to content

Commit

Permalink
feat: flask test -v sets maxDiff to None
Browse files Browse the repository at this point in the history
  This causes the output for any test failures to show full diffs, however
  large they may be.
  Resolves numberscope#116.
  • Loading branch information
gwhitney committed Apr 11, 2024
1 parent c72cad1 commit 08eee31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ def test(verbosity, start_dir, pattern, top_level_dir):
pattern=pattern,
top_level_dir=top_level_dir
)
if verbosity > 0:
unittest.TestCase.maxDiff = None
unittest.TextTestRunner(verbosity=verbosity+1).run(test_suite)

0 comments on commit 08eee31

Please sign in to comment.