Skip to content

Commit

Permalink
Moved imports to top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 30, 2020
1 parent eefd63a commit 49c5506
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Tests/conftest.py
@@ -1,4 +1,7 @@
import io
import warnings

import pytest


def pytest_report_header(config):
Expand All @@ -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:
Expand Down

0 comments on commit 49c5506

Please sign in to comment.