Hello community,
here is the log from the commit of package python-path.py for openSUSE:Factory checked in at 2019-11-04 17:07:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-path.py (Old)
and /work/SRC/openSUSE:Factory/.python-path.py.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-path.py"
Mon Nov 4 17:07:55 2019 rev:5 rq:741436 version:12.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-path.py/python-path.py.changes 2019-07-30 13:06:35.566369095 +0200
+++ /work/SRC/openSUSE:Factory/.python-path.py.new.2990/python-path.py.changes 2019-11-04 17:08:00.812364145 +0100
@@ -1,0 +2,6 @@
+Mon Oct 21 08:18:00 UTC 2019 - Tomáš Chvátal
From 02eb16f0eb2cdc0015972ce963357aaa1cd0b84b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs"
Date: Sat, 20 Jul 2019 12:57:18 -0400 Subject: [PATCH] Correct usage of exception resolution from exception info context. Fixes #167.
--- test_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_path.py b/test_path.py index f2640c1..8ef2bd6 100644 --- a/test_path.py +++ b/test_path.py @@ -1097,7 +1097,7 @@ def test_exception_in_context(self, tmpdir): with doc.in_place() as (reader, writer): writer.write(self.alternate_content) raise RuntimeError("some error") - assert "some error" in str(exc) + assert "some error" in str(exc.value) with doc.open() as stream: data = stream.read() assert 'Lorem' not in data