aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_language_actions.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-30 12:03:13 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-30 12:03:13 +1200
commit4ed5043c67848bf717e48bc509d959422c8faeb6 (patch)
tree92abe731c72d34bf6b43cbe1ecb46939953a6860 /test/test_language_actions.py
parent904760c6c2927caf49b7cbe4027dd1c8dd8e9fdb (diff)
downloadmitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.gz
mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.bz2
mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.zip
Add coding style check, reformat.
Diffstat (limited to 'test/test_language_actions.py')
-rw-r--r--test/test_language_actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_language_actions.py b/test/test_language_actions.py
index b7361dff..16d54806 100644
--- a/test/test_language_actions.py
+++ b/test/test_language_actions.py
@@ -113,8 +113,7 @@ class Test_Action:
c = actions.DisconnectAt(0)
assert a < b
assert a == c
- l = [b, a]
- l.sort()
+ l = sorted([b, a])
assert l[0].offset == 0
def test_resolve(self):