diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-03 10:25:19 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-07-03 10:25:19 +0000 |
| commit | 7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934 (patch) | |
| tree | 54b31f073e0dec5173f95dec0560031794204c99 /dev-python/chai/files/chai-1.1.2-drop-Python2.patch | |
| parent | ae9512cdfbd3c1b4ff9c7cefaf0cff4a99eadb2c (diff) | |
| download | baldeagleos-repo-7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934.tar.gz baldeagleos-repo-7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934.tar.xz baldeagleos-repo-7d3cdb1aa12cfaa5cc341f28a677d1ab51c29934.zip | |
Adding metadata
Diffstat (limited to 'dev-python/chai/files/chai-1.1.2-drop-Python2.patch')
| -rw-r--r-- | dev-python/chai/files/chai-1.1.2-drop-Python2.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-python/chai/files/chai-1.1.2-drop-Python2.patch b/dev-python/chai/files/chai-1.1.2-drop-Python2.patch deleted file mode 100644 index 82e8b78b2424..000000000000 --- a/dev-python/chai/files/chai-1.1.2-drop-Python2.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/chai/chai.py -+++ b/chai/chai.py -@@ -62,11 +62,6 @@ - try: - func(self, *args, **kwargs) - except UnexpectedCall as e: -- # if this is not python3, use python2 syntax -- if not hasattr(e, '__traceback__'): -- from .python2 import reraise -- reraise( -- AssertionError, '\n\n' + str(e), sys.exc_info()[-1]) - exc = AssertionError('\n\n' + str(e)) - setattr(exc, '__traceback__', sys.exc_info()[-1]) - raise exc ---- a/chai/python2.py -+++ b/chai/python2.py -@@ -1,3 +0,0 @@ -- --def reraise(exc, msg, traceback): -- raise exc, msg, traceback ---- a/chai.egg-info/SOURCES.txt -+++ b/chai.egg-info/SOURCES.txt -@@ -10,7 +10,6 @@ - chai/exception.py - chai/expectation.py - chai/mock.py --chai/python2.py - chai/spy.py - chai/stub.py - chai.egg-info/PKG-INFO |
