https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/contrib/gis/geometry/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/contrib/gis/geometry/test_data.pyc
�
r�\c@sdZddlZddlZddlmZddlmZddlmZda
ejjejj
eej��dd�Zd�Zd	�Zd
�Zdefd��YZd
efd��YZdefd��YZdefd��YZdefd��YZdS(sj
This module has the mock object definitions used to hold reference geometry
for the GEOS and GDAL tests.
i����N(tgis(tsix(tupathtteststdatacCs<t|ttf�r8tg|D]}t|�^q�S|S(s6Turn all nested sequences to tuples in given sequence.(t
isinstancetlistttuplettuplize(tseqti((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyRs#cCs8tgtj|�D]\}}t|�|f^q�S(s,Converts all keys in dictionary to str type.(tdictRt	iteritemststr(tdtktv((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyt
strconvertscCstjjt||d|�S(Ns.%s(tostpathtjoint	TEST_DATA(tnametext((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pytget_ds_file stTestObjcBseZdZd�ZRS(sB
    Base testing object, turns keyword args into attributes.
    cKs1x*|j�D]\}}t|||�q
WdS(N(titemstsetattr(tselftkwargstkeytvalue((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyt__init__+s(t__name__t
__module__t__doc__R (((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR'stTestDScBseZdZd�ZRS(s/
    Object for testing GDAL data sources.
    cKs>|jdd�}t||�|_tt|�j|�dS(NRtshp(tpopRtdstsuperR$R (RRRR((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR 4s(R!R"R#R (((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR$0stTestGeomcBseZdZd�ZRS(sZ
    Testing object used for wrapping reference geometry data
    in GEOS/GDAL tests.
    cKs�|jdd�}|r*t|�|_n|jdd�}|rTt|�|_n|jdd�}|r{t|�}n||_tt|�j	|�dS(Ntcoordstcentroidtext_ring_cs(
R&tNoneRR*RR+R,R(R)R (RRR*R+R,((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR @s	(R!R"R#R (((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR);stTestGeomSetcBseZdZd�ZRS(sJ
    Each attribute of this object is a list of `TestGeom` instances.
    c	KsPxI|j�D];\}}t||g|D]}tt|��^q)�q
WdS(N(RRR)R(RRRRtkw((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR Xs(R!R"R#R (((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR.Tst
TestDataMixincBseZdZed��ZRS(s�
    Mixin used for GEOS/GDAL test cases that defines a `geometries`
    property, which returns and/or loads the reference geometry data.
    cCsXtdkrTttjjtd���}tj|�}WdQXt	t
|��antS(Nsgeometries.json(t
GEOMETRIESR-topenRRRRtjsontloadR.R(Rtft
geometries((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR6bs
(R!R"R#tpropertyR6(((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyR0]s(R#R3Rtdjango.contribRtdjango.utilsRtdjango.utils._osRR-R1RRtdirnamet__file__RRRRtobjectRR$R)R.R0(((sG/tmp/pip-install-XxeQeY/django/django/contrib/gis/geometry/test_data.pyt<module>s-					

https://t.me/AnonymousX5 - 2025