diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2012-08-15 02:11:55 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@rd.io> | 2012-08-15 02:11:55 -0700 |
| commit | d1d393f975f5b14ce465fd85309520bd3c7d9162 (patch) | |
| tree | 454174b987ff9e19154e4e634c875e46771cc995 | |
| parent | dfbcbf212493b9e5bb527e7ec2d97ae3cec480fa (diff) | |
Allow tests using a LiveServer to get closer to working.
| -rw-r--r-- | django/test/testcases.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/testcases.py b/django/test/testcases.py index af807e075f..bdd85d71c3 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -1134,7 +1134,7 @@ class LiveServerTestCase(TransactionTestCase): 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' |
