catchlib 1.0.3__tar.gz → 1.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: catchlib
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: This project allows to catch exceptions easily.
5
5
  Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License: The MIT License (MIT)
@@ -26,7 +26,7 @@ keywords = []
26
26
  name = "catchlib"
27
27
  readme = "README.rst"
28
28
  requires-python = ">=3.11"
29
- version = "1.0.3"
29
+ version = "1.0.4"
30
30
 
31
31
  [project.license]
32
32
  file = "LICENSE.txt"
@@ -7,10 +7,6 @@ def test() -> unittest.TextTestRunner:
7
7
  "This function runs all the tests."
8
8
  loader: unittest.TestLoader
9
9
  tests: unittest.TestSuite
10
- runner: unittest.TextTestRunner
11
- result: unittest.TextTestResult
12
10
  loader = unittest.TestLoader()
13
11
  tests = loader.discover(start_dir="catchlib.tests")
14
- runner = unittest.TextTestRunner()
15
- result = runner.run(tests)
16
- return result
12
+ return unittest.TextTestRunner().run(tests)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: catchlib
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: This project allows to catch exceptions easily.
5
5
  Author-email: Johannes <johannes.programming@gmail.com>
6
6
  License: The MIT License (MIT)
File without changes
File without changes
File without changes
File without changes