瀏覽代碼

Set bigger maxDiff for ogrinspect tests

Claude Paroz 12 年之前
父節點
當前提交
8eb84081ad
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      django/contrib/gis/tests/inspectapp/tests.py

+ 2 - 0
django/contrib/gis/tests/inspectapp/tests.py

@@ -12,6 +12,8 @@ from .models import AllOGRFields
 
 
 class OGRInspectTest(TestCase):
+    maxDiff = 1024
+
     def test_poly(self):
         shp_file = os.path.join(TEST_DATA, 'test_poly', 'test_poly.shp')
         model_def = ogrinspect(shp_file, 'MyModel')