Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
0e4ea2a5
Commit
0e4ea2a5
authored
Nov 26, 2015
by
Tom Christie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3676 from akx/tests-on-windows
Make tests pass on Windows too
parents
200dda91
47c9bb14
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
.isort.cfg
+1
-0
requirements/requirements-codestyle.txt
+1
-1
requirements/requirements-packaging.txt
+1
-1
rest_framework/utils/representation.py
+1
-1
No files found.
.isort.cfg
View file @
0e4ea2a5
...
@@ -2,5 +2,6 @@
...
@@ -2,5 +2,6 @@
skip=.tox
skip=.tox
atomic=true
atomic=true
multi_line_output=5
multi_line_output=5
known_standard_library=types
known_third_party=pytest,django
known_third_party=pytest,django
known_first_party=rest_framework
known_first_party=rest_framework
requirements/requirements-codestyle.txt
View file @
0e4ea2a5
...
@@ -3,4 +3,4 @@ flake8==2.4.0
...
@@ -3,4 +3,4 @@ flake8==2.4.0
pep8==1.5.7
pep8==1.5.7
# Sort and lint imports
# Sort and lint imports
isort==
3.9.6
isort==
4.2.2
requirements/requirements-packaging.txt
View file @
0e4ea2a5
...
@@ -5,4 +5,4 @@ wheel==0.24.0
...
@@ -5,4 +5,4 @@ wheel==0.24.0
twine==1.4.0
twine==1.4.0
# Transifex client for managing translation resources.
# Transifex client for managing translation resources.
transifex-client==0.11
b3
transifex-client==0.11
rest_framework/utils/representation.py
View file @
0e4ea2a5
...
@@ -40,7 +40,7 @@ def smart_repr(value):
...
@@ -40,7 +40,7 @@ def smart_repr(value):
# <django.core.validators.RegexValidator object at 0x1047af050>
# <django.core.validators.RegexValidator object at 0x1047af050>
# Should be presented as
# Should be presented as
# <django.core.validators.RegexValidator object>
# <django.core.validators.RegexValidator object>
value
=
re
.
sub
(
' at 0x[0-9a-f]{4,32}>'
,
'>'
,
value
)
value
=
re
.
sub
(
' at 0x[0-9
A-F
a-f]{4,32}>'
,
'>'
,
value
)
return
value
return
value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment