commit python-apipkg for openSUSE:Factory
Hello community, here is the log from the commit of package python-apipkg for openSUSE:Factory checked in at 2019-07-30 13:01:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-apipkg (Old) and /work/SRC/openSUSE:Factory/.python-apipkg.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-apipkg" Tue Jul 30 13:01:17 2019 rev:6 rq:716841 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-apipkg/python-apipkg.changes 2019-02-24 17:04:11.736657626 +0100 +++ /work/SRC/openSUSE:Factory/.python-apipkg.new.4126/python-apipkg.changes 2019-07-30 13:01:18.838438439 +0200 @@ -1,0 +2,5 @@ +Fri Jul 19 09:02:40 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> + +- refresh pytest4.patch for pytest5 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pytest4.patch ++++++ --- /var/tmp/diff_new_pack.LeYsNI/_old 2019-07-30 13:01:19.494438337 +0200 +++ /var/tmp/diff_new_pack.LeYsNI/_new 2019-07-30 13:01:19.494438337 +0200 @@ -1,6 +1,8 @@ ---- a/test_apipkg.py -+++ b/test_apipkg.py -@@ -13,7 +13,7 @@ +Index: apipkg-1.5/test_apipkg.py +=================================================================== +--- apipkg-1.5.orig/test_apipkg.py ++++ apipkg-1.5/test_apipkg.py +@@ -13,7 +13,7 @@ ModuleType = types.ModuleType class TestRealModule: def setup_class(cls): @@ -9,3 +11,26 @@ sys.path = [str(cls.tmpdir)] + sys.path pkgdir = cls.tmpdir.ensure('realtest', dir=1) +@@ -319,8 +319,10 @@ def test_error_loading_one_element(monke + import errorloading1 + assert isinstance(errorloading1, apipkg.ApiModule) + assert errorloading1.y == 0 +- py.test.raises(ImportError, 'errorloading1.x') +- py.test.raises(ImportError, 'errorloading1.x') ++ with pytest.raises(ImportError): ++ errorloading1.x ++ with pytest.raises(ImportError): ++ errorloading1.x + + + def test_onfirstaccess(tmpdir, monkeypatch): +@@ -493,7 +495,8 @@ def test_aliasmodule_proxy_methods(tmpdi + assert doit is orig.doit + + del proxy.doit +- py.test.raises(AttributeError, "orig.doit") ++ with pytest.raises(AttributeError): ++ orig.doit + + proxy.doit = doit + assert orig.doit is doit
participants (1)
-
root