diff options
author | Hugo <hugo@whynothugo.nl> | 2022-07-24 03:17:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 08:17:07 +0700 |
commit | d5175c38da3efee26957a0e6d58f00c55387b349 (patch) | |
tree | ff30264b178f5dfea5dd68ef017296fec183e506 /tests/test_cli.py | |
parent | 61a4a1720bb5d8392411fefbc93a3a58b1f98723 (diff) | |
download | rq-d5175c38da3efee26957a0e6d58f00c55387b349.tar.gz |
Drop python2-specific syntax (#1674)
* Drop syntax required only for Python 2
* Drop python2-style super() calls
Co-authored-by: Selwin Ong <selwin.ong@gmail.com>
Diffstat (limited to 'tests/test_cli.py')
-rw-r--r-- | tests/test_cli.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py index a03aaf6..e428f92 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,7 +1,3 @@ -# -*- coding: utf-8 -*- -from __future__ import (absolute_import, division, print_function, - unicode_literals) - from datetime import datetime, timezone, timedelta from time import sleep from uuid import uuid4 @@ -45,7 +41,7 @@ class TestRQCli(RQTestCase): """Test rq_cli script""" def setUp(self): - super(TestRQCli, self).setUp() + super().setUp() db_num = self.testconn.connection_pool.connection_kwargs['db'] self.redis_url = 'redis://127.0.0.1:6379/%d' % db_num self.connection = Redis.from_url(self.redis_url) |