aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_language_actions.py
diff options
context:
space:
mode:
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):