File manager - Edit - /usr/local/CyberCP/lib/python3.10/site-packages/django/db/backends/sqlite3/__pycache__/features.cpython-310.pyc
Back
o �h� � @ sX d dl Z d dlmZ d dlmZ d dlmZ d dlmZ ddl m Z G dd � d e�ZdS ) � N)�transaction)�BaseDatabaseFeatures)�OperationalError)�cached_property� )�Databasec s8 e Zd ZdZdZdZdZdZdZdZ dZ dZdZdZ dZdZdZdZdZdZejdkZejdkZdZdZejdkZejdkZejd kZejd kZejdk ZdZdZ ejdkZ!e!Z"d dd d�Z#dhZ$dZ%e&dd� �Z'e&dd� �Z(e&� fdd��Z)e&dd� �Z*e+e,�-d��Z.e+e,�-d��Z/e&dd� �Z0e+e,�-d��Z1� Z2S )�DatabaseFeatures)� � FTi� r )r � r )r �# � )r � r )r � r )r r r )r r )r � r �nocase�binary)�ci�cs�non_defaultz9expressions.tests.FTimeDeltaTests.test_mixed_comparisons1z� CREATE TABLE test_table_composite_pk ( column_1 INTEGER NOT NULL, column_2 INTEGER NOT NULL, PRIMARY KEY(column_1, column_2) ) c C sl dhh d�h d�d�}t jdk r|�ddhi� | j�� r*|�dd hd hd�� |S |�dhd hd�� |S )NzZmodel_fields.test_decimalfield.DecimalFieldTests.test_fetch_from_db_without_float_rounding> �4schema.tests.SchemaTests.test_unique_and_reverse_m2m�<schema.tests.SchemaTests.test_unique_no_unnecessary_fk_drops�Hschema.tests.SchemaTests.test_alter_field_default_doesnt_perform_queries�Kschema.tests.SchemaTests.test_rename_column_renames_deferred_sql_references> �Idb_functions.math.test_round.RoundTests.test_null_with_negative_precision�Jdb_functions.math.test_round.RoundTests.test_float_with_negative_precision�Ldb_functions.math.test_round.RoundTests.test_decimal_with_negative_precision�Ldb_functions.math.test_round.RoundTests.test_integer_with_negative_precision)z6SQLite stores values rounded to 15 significant digits.z5SQLite naively remakes the table on field alteration.z6SQLite doesn't support negative precision for ROUND().)r � z*Nondeterministic failure on SQLite < 3.27.zIexpressions_window.tests.WindowFunctionTests.test_subquery_row_range_rankzJservers.test_liveserverthread.LiveServerThreadTest.test_closes_connectionszGservers.tests.LiveServerTestCloseConnectionTest.test_closes_connectionszbtest_utils.tests.AssertNumQueriesUponConnectionTests.test_ignores_connection_configuration_queries)zOthe sqlite backend's close() method is a no-op when using an in-memory databasezHFor SQLite in-memory tests, closing the connection destroysthe database.zMservers.tests.LiveServerInMemoryDatabaseLockTest.test_in_memory_database_lockz`backends.sqlite.test_creation.TestDbSignatureTests.test_get_test_db_clone_settings_not_supported)zOOnly connections to in-memory SQLite databases are passed to the server thread.zMmultiprocessing's start method is checked only for in-memory SQLite databases)r �sqlite_version_info�update� connection�is_in_memory_db)�self�skips� r% �V/usr/local/CyberCP/lib/python3.10/site-packages/django/db/backends/sqlite3/features.py�django_test_skips? s<