diff --git a/docs/reST/conf.py b/docs/reST/conf.py index 6db2fb24af..ff1acf0a47 100644 --- a/docs/reST/conf.py +++ b/docs/reST/conf.py @@ -50,7 +50,7 @@ # The short X.Y version. version = '2.1.1' # The full version, including alpha/beta/rc tags. -release = '2.1.1.dev3' +release = '2.1.1.dev4' # Format strings for the version directives versionadded_format = 'New in pygame %s' diff --git a/setup.py b/setup.py index 0eabd3df6b..24cf2b6080 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ METADATA = { "name": "pygame", - "version": "2.1.1.dev3", + "version": "2.1.1.dev4", "license": "LGPL", "url": "https://www.pygame.org", "author": "A community project.", diff --git a/src_c/transform.c b/src_c/transform.c index c8cf563c91..8a59fd3c13 100644 --- a/src_c/transform.c +++ b/src_c/transform.c @@ -929,7 +929,7 @@ chop(SDL_Surface *src, int x, int y, int width, int height) dst = newsurf_fromsurf(src, dstwidth, dstheight); if (!dst) return NULL; - + Py_BEGIN_ALLOW_THREADS; SDL_LockSurface(dst); srcrow = (char *)src->pixels; diff --git a/test/display_test.py b/test/display_test.py index 3f4bffaa34..339a3c4914 100644 --- a/test/display_test.py +++ b/test/display_test.py @@ -487,15 +487,12 @@ def test_set_gamma(self): self.assertEqual(pygame.display.set_gamma(gamma), True) @unittest.skipIf( - os.environ.get("SDL_VIDEODRIVER") == "dummy", - "Needs a not dummy videodriver" + os.environ.get("SDL_VIDEODRIVER") == "dummy", "Needs a not dummy videodriver" ) def test_set_gamma__tuple(self): pygame.display.set_mode((1, 1)) - gammas = [(0.5, 0.5, 0.5), - (1.0, 1.0, 1.0), - (0.25, 0.33, 0.44)] + gammas = [(0.5, 0.5, 0.5), (1.0, 1.0, 1.0), (0.25, 0.33, 0.44)] for r, g, b in gammas: with self.subTest(r=r, g=g, b=b): self.assertEqual(pygame.display.set_gamma(r, g, b), True)