This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via d20e72b9039d42747114efd7fa188d9ae416ab4a (commit) via a7351900dbacf08c27745b443dbac747f82112fd (commit) from 3b3c1affc1f82aacdad1116ab6838aea6dd18a7a (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/d20e72b9039d42747114efd7fa188d9ae416a...
commit d20e72b9039d42747114efd7fa188d9ae416ab4a Author: Tomas Gavenciak gavento@ucw.cz Date: Sat Apr 20 01:05:01 2013 +0200
pytest: fix AA test parameters (float->fixpoint)
diff --git a/tests/pylib/test_gfx.py b/tests/pylib/test_gfx.py index 9b854cb..ac5ec2c 100644 --- a/tests/pylib/test_gfx.py +++ b/tests/pylib/test_gfx.py @@ -30,24 +30,24 @@ gfx_params = { 'FillEllipse': 'IIIIP', 'FillPolygon': ([(0,0),(1,1),(1,0)], 0, {}), 'FillRect': 'IIIIP', - 'FillRect_AA': 'FFFFP', + 'FillRect_AA': 'IIIIP', # Fixpoint, originally 'FFFFP' 'FillRing': 'IIIIP', 'FillSymbol': '0IIIIP', 'FillTetragon': 'IIIIIIIIP', 'FillTriangle': 'IIIIIIP', 'HLine': 'IIIP', - 'HLineAA': 'FFFP', + 'HLineAA': 'IIIP', # Fixpoint, originally 'FFFP' 'Line': 'IIIIP', - 'LineAA': 'FFFFP', + 'LineAA': 'IIIIP', # Fixpoint, originally 'FFFFP' 'Polygon': ([(0,0),(1,1),(1,0)], 0, {}), - 'PutPixelAA': 'FFP', + 'PutPixelAA': 'IIP', # Fixpoint, originally 'FFP' 'Rect': 'IIIIP', 'Ring': 'IIIIP', 'Symbol': '0IIIIP', 'Tetragon': 'IIIIIIIIP', 'Triangle': 'IIIIIIP', 'VLine': 'IIIP', - 'VLineAA': 'FFFP', + 'VLineAA': 'IIIP', # Fixpoint, originally 'FFFP' }
http://repo.or.cz/w/gfxprim.git/commit/a7351900dbacf08c27745b443dbac747f8211...
commit a7351900dbacf08c27745b443dbac747f82112fd Author: Tomas Gavenciak gavento@ucw.cz Date: Sat Apr 20 01:04:11 2013 +0200
pytest: Fix Blit with alpha channel test
diff --git a/tests/pylib/test_core.py b/tests/pylib/test_core.py index 80d0408..894695a 100644 --- a/tests/pylib/test_core.py +++ b/tests/pylib/test_core.py @@ -104,6 +104,12 @@ def test_blit_vs_convert_to_RGB888(t): raise SkipTest("Palette conversions are TODO") c = ContextRand(42, 43, t, seed=0) c2a = ContextRand(c.w, c.h, core.C.PIXEL_RGB888, seed=42) + if 'A' in t.name: + try: + import gfxprim.gfx + except ImportError: + raise SkipTest("Could not import gfx for core test") + c2a.gfx.Fill(0) c2b = c.Convert(core.C.PIXEL_RGB888) c.Blit(0, 0, c2a, 0, 0, w=c.w, h=c.h) assert c2a == c2b
-----------------------------------------------------------------------
Summary of changes: tests/pylib/test_core.py | 6 ++++++ tests/pylib/test_gfx.py | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.