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 authored and wiredfool committed Jan 7, 2021
1 parent 59ee809 commit a58ff32
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Tests/conftest.py
Original file line number Diff line number Diff line change
@@ -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 a58ff32

Please sign in to comment.