File: verbose-tests.diff

package info (click to toggle)
python-docutils 0.22%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,448 kB
  • sloc: python: 53,302; lisp: 14,475; xml: 1,807; javascript: 1,032; makefile: 102; sh: 96
file content (22 lines) | stat: -rw-r--r-- 825 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Dmitry Shachnev <mitya57@debian.org>
Date: Sun, 28 Apr 2024 12:33:55 +0300
Subject: Run tests with verbosity=2

Forwarded: not-needed
---
 test/alltests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/alltests.py b/test/alltests.py
index d8f1f6c..41160f4 100755
--- a/test/alltests.py
+++ b/test/alltests.py
@@ -103,7 +103,7 @@ if __name__ == '__main__':
     print(f'Working directory: {Path.cwd()}')
     print(f'Docutils package: {Path(docutils.__file__).parent}')
     sys.stdout.flush()
-    result = unittest.TextTestRunner(resultclass=NumbersTestResult).run(suite)
+    result = unittest.TextTestRunner(resultclass=NumbersTestResult, verbosity=2).run(suite)
     finish = time.time()
     print(f'Elapsed time: {finish - start:.3f} seconds')
     sys.exit(not result.wasSuccessful())