Tests: removed unused variables.
This commit is contained in:
@@ -25,7 +25,7 @@ class TestConfiguration(TestControl):
|
||||
|
||||
def test_json_unicode(self):
|
||||
assert 'success' in self.conf(
|
||||
u"""
|
||||
"""
|
||||
{
|
||||
"ap\u0070": {
|
||||
"type": "\u0070ython",
|
||||
@@ -64,7 +64,7 @@ class TestConfiguration(TestControl):
|
||||
|
||||
def test_json_unicode_number(self):
|
||||
assert 'success' in self.conf(
|
||||
u"""
|
||||
"""
|
||||
{
|
||||
"app": {
|
||||
"type": "python",
|
||||
@@ -252,7 +252,7 @@ class TestConfiguration(TestControl):
|
||||
)
|
||||
|
||||
def test_listeners_port_release(self):
|
||||
for i in range(10):
|
||||
for _ in range(10):
|
||||
fail = False
|
||||
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
||||
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
|
||||
Reference in New Issue
Block a user