summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-23 14:37:46 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-23 15:26:54 +0200
commit517d31516ae1158fee6d7b5d78573b3a38029efb (patch)
tree1af110594cf373f11906dd928a919e7d6108590b
parent753a34b42ae2f24536dbfe37dda8d71a992eca5c (diff)
[3.0.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
Backport of 25903e41fb45ce9cc80dc93bf4b51ea431dcb2b6 from master
-rw-r--r--tests/requirements/py3.txt2
-rw-r--r--tests/test_runner/test_parallel.py7
2 files changed, 2 insertions, 7 deletions
diff --git a/tests/requirements/py3.txt b/tests/requirements/py3.txt
index 831416e240..13218c2990 100644
--- a/tests/requirements/py3.txt
+++ b/tests/requirements/py3.txt
@@ -14,4 +14,4 @@ pywatchman; sys.platform != 'win32'
PyYAML
selenium
sqlparse
-tblib
+tblib >= 1.5.0
diff --git a/tests/test_runner/test_parallel.py b/tests/test_runner/test_parallel.py
index cb69c2bf4f..c1a89bd0f0 100644
--- a/tests/test_runner/test_parallel.py
+++ b/tests/test_runner/test_parallel.py
@@ -2,7 +2,7 @@ import unittest
from django.test import SimpleTestCase
from django.test.runner import RemoteTestResult
-from django.utils.version import PY37, PY38
+from django.utils.version import PY37
try:
import tblib
@@ -63,11 +63,6 @@ class RemoteTestResultTest(SimpleTestCase):
with self.assertRaisesMessage(TypeError, msg):
result._confirm_picklable(not_unpicklable_error)
- @unittest.skipIf(
- PY38 and tblib is not None and tblib.__version__ <= '1.4.0',
- 'tblib <= 1.4.0 does not support Python 3.8 due to changes in the '
- 'CodeType signature (see https://bugs.python.org/issue36886).'
- )
@unittest.skipUnless(tblib is not None, 'requires tblib to be installed')
def test_add_failing_subtests(self):
"""