8000 isort · vinodkumar501/client_python@bf1e7dc · GitHub
[go: up one dir, main page]

Skip to content

Commit bf1e7dc

Browse files
committed
isort
Signed-off-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent a9800c4 commit bf1e7dc

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

tests/test_asgi.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
from __future__ import absolute_import, unicode_literals
22

3-
from unittest import TestCase
4-
from unittest import skipUnless
3+
from unittest import skipUnless, TestCase
54

65
from prometheus_client import CollectorRegistry, Counter
76
from prometheus_client.exposition import CONTENT_TYPE_LATEST
87

9-
108
try:
119
# Python >3.5 only
1210
import asyncio

tests/test_exposition.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
passthrough_redirect_handler,
1818
)
1919

20-
2120
try:
2221
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
2322
except ImportError:

tests/test_multiprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import os
55
import shutil
66
import tempfile
7-
import warnings
87
import unittest
8+
import warnings
99

1010
from prometheus_client import mmap_dict, values
1111
from prometheus_client.core import (

tests/test_twisted.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from prometheus_client import CollectorRegistry, Counter, generate_latest
66

7-
87
try:
98
from twisted.internet import reactor
109
from twisted.trial.unittest import TestCase

0 commit comments

Comments
 (0)
0