mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
Merge branch 'master' into rm-2.7
This commit is contained in:
commit
28ff798889
5
.github/workflows/test-windows.yml
vendored
5
.github/workflows/test-windows.yml
vendored
|
@ -19,9 +19,8 @@ jobs:
|
|||
platform-vcvars: "x86_amd64"
|
||||
platform-msbuild: "x64"
|
||||
- python-version: "pypy3.6"
|
||||
pypy-version: "pypy-c-jit-97588-7392d01b93d0-win32"
|
||||
pypy-url: "http://buildbot.pypy.org/nightly/py3.6/pypy-c-jit-97588-7392d01b93d0-win32.zip"
|
||||
# pypy-url: "https://bitbucket.org/pypy/pypy/downloads/${{ matrix.pypy-version }}.zip"
|
||||
pypy-version: "pypy3.6-v7.2.0-win32"
|
||||
pypy-url: "https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.2.0-win32.zip"
|
||||
exclude:
|
||||
- python-version: "pypy3.6"
|
||||
architecture: "x64"
|
||||
|
|
|
@ -5,6 +5,9 @@ Changelog (Pillow)
|
|||
7.0.0 (unreleased)
|
||||
------------------
|
||||
|
||||
- Added pypy3 to tox envlist #4137
|
||||
[jdufresne]
|
||||
|
||||
- Drop support for EOL PyQt4 and PySide #4108
|
||||
[hugovk, radarhere]
|
||||
|
||||
|
|
|
@ -207,24 +207,13 @@ class PillowTestCase(unittest.TestCase):
|
|||
|
||||
self.assertTrue(value, msg + ": " + repr(actuals) + " != " + repr(targets))
|
||||
|
||||
def skipKnownBadTest(self, msg=None, platform=None, travis=None, interpreter=None):
|
||||
# Skip if platform/travis matches, and
|
||||
# PILLOW_RUN_KNOWN_BAD is not true in the environment.
|
||||
def skipKnownBadTest(self, msg=None):
|
||||
# Skip if PILLOW_RUN_KNOWN_BAD is not true in the environment.
|
||||
if os.environ.get("PILLOW_RUN_KNOWN_BAD", False):
|
||||
print(os.environ.get("PILLOW_RUN_KNOWN_BAD", False))
|
||||
return
|
||||
|
||||
skip = True
|
||||
if platform is not None:
|
||||
skip = sys.platform.startswith(platform)
|
||||
if travis is not None:
|
||||
skip = skip and (travis == bool(os.environ.get("TRAVIS", False)))
|
||||
if interpreter is not None:
|
||||
skip = skip and (
|
||||
interpreter == "pypy" and hasattr(sys, "pypy_version_info")
|
||||
)
|
||||
if skip:
|
||||
self.skipTest(msg or "Known Bad Test")
|
||||
self.skipTest(msg or "Known Bad Test")
|
||||
|
||||
def tempfile(self, template):
|
||||
assert template[:5] in ("temp.", "temp_")
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -6,7 +6,7 @@
|
|||
[tox]
|
||||
envlist =
|
||||
lint
|
||||
py{35,36,37}
|
||||
py{35,36,37,py3}
|
||||
minversion = 1.9
|
||||
|
||||
[testenv]
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
curl -fsSL -o pypy3.zip http://buildbot.pypy.org/nightly/py3.6/pypy-c-jit-97588-7392d01b93d0-win32.zip
|
||||
curl -fsSL -o pypy3.zip https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.2.0-win32.zip
|
||||
7z x pypy3.zip -oc:\
|
||||
c:\Python37\Scripts\virtualenv.exe -p c:\pypy-c-jit-97588-7392d01b93d0-win32\pypy3.exe c:\vp\pypy3
|
||||
c:\Python37\Scripts\virtualenv.exe -p c:\pypy3.6-v7.2.0-win32\pypy3.exe c:\vp\pypy3
|
||||
|
|
Loading…
Reference in New Issue
Block a user