Skip to content

Commit 98b251b

Browse files
committed
OP-1150-python-3-10: Remove exceptiongroups utils
1 parent cf673ff commit 98b251b

File tree

5 files changed

+3
-182
lines changed

5 files changed

+3
-182
lines changed

CHANGES.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
# v2.0.0rc2
2-
3-
- Adds `typecats.exceptiongroups`: Basic utility functions for working with exception groups
4-
- Adds `typecats.exceptiongroups.pytest_utils`: `with raises_in_group()` to simplify assertions
5-
- Fixes \_ispytest being passed in older pytest versions
6-
- Fix regression in undefined behavior of `Cat.struc({"field": WildCat(...)})`
7-
8-
## v2.0.0rc1
1+
# v2.0.0
92

103
Breaking changes:
114

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ features. The 4 core features are:
9494

9595
try:
9696
TestCat.struc(dict(name='', age=0))
97-
except StructuringError as ve:
97+
except typecats.StructuringError as ve:
9898
print(ve)
9999
# Attribute "name" on class <class 'TestCat'> with type <class 'str'> cannot have empty value ''!
100100
```

typecats/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""typecats"""
2-
__version__ = "2.0.0rc2"
2+
__version__ = "2.0.0"
33
__author__ = "Peter Gaultney"
44
__author_email__ = "pgaultney@xoi.io"

typecats/exceptiongroups/__init__.py

-39
This file was deleted.

typecats/exceptiongroups/pytest_utils.py

-133
This file was deleted.

0 commit comments

Comments
 (0)