mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Merge pull request #3676 from akx/tests-on-windows
Make tests pass on Windows too
This commit is contained in:
commit
0e4ea2a591
|
@ -2,5 +2,6 @@
|
|||
skip=.tox
|
||||
atomic=true
|
||||
multi_line_output=5
|
||||
known_standard_library=types
|
||||
known_third_party=pytest,django
|
||||
known_first_party=rest_framework
|
||||
|
|
|
@ -3,4 +3,4 @@ flake8==2.4.0
|
|||
pep8==1.5.7
|
||||
|
||||
# Sort and lint imports
|
||||
isort==3.9.6
|
||||
isort==4.2.2
|
||||
|
|
|
@ -5,4 +5,4 @@ wheel==0.24.0
|
|||
twine==1.4.0
|
||||
|
||||
# Transifex client for managing translation resources.
|
||||
transifex-client==0.11b3
|
||||
transifex-client==0.11
|
||||
|
|
|
@ -40,7 +40,7 @@ def smart_repr(value):
|
|||
# <django.core.validators.RegexValidator object at 0x1047af050>
|
||||
# Should be presented as
|
||||
# <django.core.validators.RegexValidator object>
|
||||
value = re.sub(' at 0x[0-9a-f]{4,32}>', '>', value)
|
||||
value = re.sub(' at 0x[0-9A-Fa-f]{4,32}>', '>', value)
|
||||
|
||||
return value
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user