1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.

This commit is contained in:
Mariusz Felisiak 2019-10-23 14:37:46 +02:00
parent e10ebf43e1
commit 25903e41fb
2 changed files with 2 additions and 7 deletions

View File

@ -14,4 +14,4 @@ pywatchman; sys.platform != 'win32'
PyYAML
selenium
sqlparse
tblib
tblib >= 1.5.0

View File

@ -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):
"""