﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20514	django.contrib.gis.tests.test_measure.{AreaTest,DistanceTest} fail in py3	idella4	nobody	"PYTHONPATH=.:../Django-1.5.1-python3_2/lib/:../Django-1.5.1-python3_2/ python tests/runtests.py --settings=test_sqlite -v1

{{{
.......ss.sE........E.........ssssssss..................
======================================================================
ERROR: testAccess (django.contrib.gis.tests.test_measure.AreaTest)
Testing access in different units
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/var/tmp/portage/portage/dev-python/django-1.5.1/work/Django-1.5.1/django/contrib/gis/tests/test_measure.py"", line 175, in testAccess
    self.assertAlmostEqual(a.sq_ft, 1076.391, 3)
TypeError: assertAlmostEqual() takes exactly 3 positional arguments (4 given)

======================================================================
ERROR: testAccess (django.contrib.gis.tests.test_measure.DistanceTest)
Testing access in different units
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/var/tmp/portage/portage/dev-python/django-1.5.1/work/Django-1.5.1/django/contrib/gis/tests/test_measure.py"", line 43, in testAccess
    self.assertAlmostEqual(d.ft, 328.084, 3)
TypeError: assertAlmostEqual() takes exactly 3 positional arguments (4 given)

----------------------------------------------------------------------
Ran 4963 tests in 855.328s

FAILED (errors=2, skipped=175, expected failures=4)
}}}

(a.sq_ft, 1076.391, 3)
(d.ft,    328.084,  3)

Well I count 3 positional arguments, py3 counts 4 given.
tilt.
py3 can't count??


"	Bug	closed	GIS	1.5	Normal	invalid	tests	bmispelon@…	Unreviewed	1	0	0	0	0	0
