catchlib 1.0.6__tar.gz → 1.0.7__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.
- {catchlib-1.0.6/src/catchlib.egg-info → catchlib-1.0.7}/PKG-INFO +1 -2
- {catchlib-1.0.6 → catchlib-1.0.7}/pyproject.toml +3 -5
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib/tests/__init__.py +3 -3
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib/tests/test_0.py +2 -1
- {catchlib-1.0.6 → catchlib-1.0.7/src/catchlib.egg-info}/PKG-INFO +1 -2
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib.egg-info/SOURCES.txt +0 -1
- catchlib-1.0.6/src/catchlib.egg-info/requires.txt +0 -1
- {catchlib-1.0.6 → catchlib-1.0.7}/LICENSE.txt +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/MANIFEST.in +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/README.rst +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/setup.cfg +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib/__init__.py +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib/core/__init__.py +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib.egg-info/dependency_links.txt +0 -0
- {catchlib-1.0.6 → catchlib-1.0.7}/src/catchlib.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: catchlib
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
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)
|
|
@@ -39,7 +39,6 @@ Classifier: Typing :: Typed
|
|
|
39
39
|
Requires-Python: >=3.11
|
|
40
40
|
Description-Content-Type: text/x-rst
|
|
41
41
|
License-File: LICENSE.txt
|
|
42
|
-
Requires-Dist: overloadable<2,>=1.0.9
|
|
43
42
|
Dynamic: license-file
|
|
44
43
|
|
|
45
44
|
========
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[build-system]
|
|
2
2
|
build-backend = "setuptools.build_meta"
|
|
3
3
|
requires = [
|
|
4
|
-
"setuptools>=
|
|
4
|
+
"setuptools>=64.0",
|
|
5
5
|
]
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -18,15 +18,13 @@ classifiers = [
|
|
|
18
18
|
"Programming Language :: Python :: 3 :: Only",
|
|
19
19
|
"Typing :: Typed",
|
|
20
20
|
]
|
|
21
|
-
dependencies = [
|
|
22
|
-
"overloadable>=1.0.9,<2",
|
|
23
|
-
]
|
|
21
|
+
dependencies = []
|
|
24
22
|
description = "This project allows to catch exceptions easily."
|
|
25
23
|
keywords = []
|
|
26
24
|
name = "catchlib"
|
|
27
25
|
readme = "README.rst"
|
|
28
26
|
requires-python = ">=3.11"
|
|
29
|
-
version = "1.0.
|
|
27
|
+
version = "1.0.7"
|
|
30
28
|
|
|
31
29
|
[project.license]
|
|
32
30
|
file = "LICENSE.txt"
|
|
@@ -6,7 +6,7 @@ __all__ = ["test"]
|
|
|
6
6
|
def test() -> unittest.TextTestRunner:
|
|
7
7
|
"This function runs all the tests."
|
|
8
8
|
loader: unittest.TestLoader
|
|
9
|
-
|
|
9
|
+
suite: unittest.TestSuite
|
|
10
10
|
loader = unittest.TestLoader()
|
|
11
|
-
|
|
12
|
-
return unittest.TextTestRunner().run(
|
|
11
|
+
suite = loader.discover(start_dir="catchlib.tests")
|
|
12
|
+
return unittest.TextTestRunner().run(suite)
|
|
@@ -31,7 +31,8 @@ class TestCatcher(unittest.TestCase):
|
|
|
31
31
|
self.assertIsNotNone(catcher.caught)
|
|
32
32
|
self.assertIsInstance(catcher.caught, KeyError)
|
|
33
33
|
self.assertEqual(
|
|
34
|
-
str(catcher.caught),
|
|
34
|
+
str(catcher.caught),
|
|
35
|
+
"'missing'",
|
|
35
36
|
) # KeyError stringifies with quotes
|
|
36
37
|
|
|
37
38
|
def test_non_matching_exception_propagates_and_does_not_set_caught(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: catchlib
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
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)
|
|
@@ -39,7 +39,6 @@ Classifier: Typing :: Typed
|
|
|
39
39
|
Requires-Python: >=3.11
|
|
40
40
|
Description-Content-Type: text/x-rst
|
|
41
41
|
License-File: LICENSE.txt
|
|
42
|
-
Requires-Dist: overloadable<2,>=1.0.9
|
|
43
42
|
Dynamic: license-file
|
|
44
43
|
|
|
45
44
|
========
|
|
@@ -7,7 +7,6 @@ src/catchlib/__init__.py
|
|
|
7
7
|
src/catchlib.egg-info/PKG-INFO
|
|
8
8
|
src/catchlib.egg-info/SOURCES.txt
|
|
9
9
|
src/catchlib.egg-info/dependency_links.txt
|
|
10
|
-
src/catchlib.egg-info/requires.txt
|
|
11
10
|
src/catchlib.egg-info/top_level.txt
|
|
12
11
|
src/catchlib/core/__init__.py
|
|
13
12
|
src/catchlib/tests/__init__.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
overloadable<2,>=1.0.9
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|