Permalink
Browse files

Allow tests using a LiveServer to get closer to working.

  • Loading branch information...
1 parent dfbcbf2 commit d1d393f975f5b14ce465fd85309520bd3c7d9162 @alex alex committed with Alex Gaynor Aug 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'

0 comments on commit d1d393f

Please sign in to comment.