Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow tests using a LiveServer to get closer to working.

  • Loading branch information...
commit d1d393f975f5b14ce465fd85309520bd3c7d9162 1 parent dfbcbf2
@alex alex authored Alex Gaynor committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/test/testcases.py
View
2  django/test/testcases.py
@@ -1134,7 +1134,7 @@ def setUpClass(cls):
host, port_ranges = specified_address.split(':')
for port_range in port_ranges.split(','):
# A port range can be of either form: '8000' or '8000-8010'.
- extremes = map(int, port_range.split('-'))
+ extremes = list(map(int, port_range.split('-')))
assert len(extremes) in [1, 2]
if len(extremes) == 1:
# Port range of the form '8000'
Please sign in to comment.
Something went wrong with that request. Please try again.