Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 13, 2021
1 parent 18622d5 commit 20f1f3b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tests/test_asgi.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from __future__ import absolute_import, unicode_literals

from unittest import TestCase
from unittest import skipUnless
from unittest import skipUnless, TestCase

from prometheus_client import CollectorRegistry, Counter
from prometheus_client.exposition import CONTENT_TYPE_LATEST


try:
# Python >3.5 only
import asyncio
Expand Down
1 change: 0 additions & 1 deletion tests/test_exposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
passthrough_redirect_handler,
)


try:
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_multiprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import os
import shutil
import tempfile
import warnings
import unittest
import warnings

from prometheus_client import mmap_dict, values
from prometheus_client.core import (
Expand Down
1 change: 0 additions & 1 deletion tests/test_twisted.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from prometheus_client import CollectorRegistry, Counter, generate_latest


try:
from twisted.internet import reactor
from twisted.trial.unittest import TestCase
Expand Down

0 comments on commit 20f1f3b

Please sign in to comment.