mirror of
https://github.com/django/django.git
synced 2025-03-13 19:00:45 +00:00
Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
This commit is contained in:
parent
e10ebf43e1
commit
25903e41fb
@ -14,4 +14,4 @@ pywatchman; sys.platform != 'win32'
|
|||||||
PyYAML
|
PyYAML
|
||||||
selenium
|
selenium
|
||||||
sqlparse
|
sqlparse
|
||||||
tblib
|
tblib >= 1.5.0
|
||||||
|
@ -2,7 +2,7 @@ import unittest
|
|||||||
|
|
||||||
from django.test import SimpleTestCase
|
from django.test import SimpleTestCase
|
||||||
from django.test.runner import RemoteTestResult
|
from django.test.runner import RemoteTestResult
|
||||||
from django.utils.version import PY37, PY38
|
from django.utils.version import PY37
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import tblib
|
import tblib
|
||||||
@ -63,11 +63,6 @@ class RemoteTestResultTest(SimpleTestCase):
|
|||||||
with self.assertRaisesMessage(TypeError, msg):
|
with self.assertRaisesMessage(TypeError, msg):
|
||||||
result._confirm_picklable(not_unpicklable_error)
|
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')
|
@unittest.skipUnless(tblib is not None, 'requires tblib to be installed')
|
||||||
def test_add_failing_subtests(self):
|
def test_add_failing_subtests(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user