mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Moved imports to top of file
This commit is contained in:
parent
59ee809f13
commit
a58ff327d4
|
@ -1,4 +1,7 @@
|
|||
import io
|
||||
import warnings
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def pytest_report_header(config):
|
||||
|
@ -17,10 +20,6 @@ def pytest_configure(config):
|
|||
# Ensure that the mark is defined
|
||||
# even in cases where pytest-valgrind isn't installed
|
||||
|
||||
import warnings
|
||||
|
||||
import pytest
|
||||
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter("error")
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user