mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Merge pull request #4314 from nulano/pypy3081
Restore test fixed in PyPy 7.3.0
This commit is contained in:
		
						commit
						c75f96bc65
					
				| 
						 | 
					@ -1,17 +1,10 @@
 | 
				
			||||||
import os
 | 
					import os
 | 
				
			||||||
import subprocess
 | 
					import subprocess
 | 
				
			||||||
import sys
 | 
					import sys
 | 
				
			||||||
import unittest
 | 
					 | 
				
			||||||
from unittest import TestCase
 | 
					from unittest import TestCase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from .helper import is_pypy, is_win32, on_github_actions
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
class TestMain(TestCase):
 | 
					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):
 | 
					    def test_main(self):
 | 
				
			||||||
        out = subprocess.check_output([sys.executable, "-m", "PIL"]).decode("utf-8")
 | 
					        out = subprocess.check_output([sys.executable, "-m", "PIL"]).decode("utf-8")
 | 
				
			||||||
        lines = out.splitlines()
 | 
					        lines = out.splitlines()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user