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())
|