Merge pull request #4314 from nulano/pypy3081

Restore test fixed in PyPy 7.3.0
This commit is contained in:
Andrew Murray 2019-12-30 09:28:14 +11:00 committed by GitHub
commit c75f96bc65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,10 @@
import os
import subprocess
import sys
import unittest
from unittest import TestCase
from .helper import is_pypy, is_win32, on_github_actions
class TestMain(TestCase):
@unittest.skipIf(
is_win32() and is_pypy() and on_github_actions(),
"Failing on Windows on GitHub Actions running PyPy",
)
def test_main(self):
out = subprocess.check_output([sys.executable, "-m", "PIL"]).decode("utf-8")
lines = out.splitlines()