summaryrefslogtreecommitdiff
path: root/test/unit/test_multithreading.py
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2022-03-22 10:14:19 -0700
committerTim Burke <tim.burke@gmail.com>2022-05-24 08:33:02 -0700
commit5d451fb92031989ea9982fc29140175014448ea2 (patch)
treeb58229bfa7dd09d980894b3aad928f5706c8f151 /test/unit/test_multithreading.py
parent20c97e83d3af855e5e238dfa4b10b7bf29533d57 (diff)
downloadpython-swiftclient-5d451fb92031989ea9982fc29140175014448ea2.tar.gz
More cleanup following py2 removal
* Drop py2-only hacking pin from test-requirements. * Remove quote() helper; urllib.parse.quote() works fine. * Remove some useless code. Change-Id: I9ffc923f58f1d11538f83ff26f7beb53cdf134c3
Diffstat (limited to 'test/unit/test_multithreading.py')
-rw-r--r--test/unit/test_multithreading.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/test_multithreading.py b/test/unit/test_multithreading.py
index d51bfb7..8237d82 100644
--- a/test/unit/test_multithreading.py
+++ b/test/unit/test_multithreading.py
@@ -216,12 +216,11 @@ class TestOutputManager(unittest.TestCase):
# The threads should have been cleaned up
self.assertEqual(starting_thread_count, threading.active_count())
- over_the = "over the '\u062a\u062a'\n"
self.assertEqual(''.join([
'one-argument\n',
'one fish, 88 fish\n',
'some\n', 'where\n',
- over_the,
+ "over the '\u062a\u062a'\n",
'some raw bytes: \u062a\u062a',
' key: value\n',
' object: O\u0308bject\n'