File: //opt/alt/python38/lib/python3.8/site-packages/pymysql/tests/__pycache__/base.cpython-38.pyc
U
�
V�
� @ sZ d dl Z d dlZd dlZd dlZd dlZd dlZd dlZddlmZ G dd� dej �Z
dS )� N� )�CPYTHONc @ s� e Zd Zej�ej�e�d�Zej� e�rJe
e��Ze�
e�ZW 5 Q R X n ddddddd�ddddd �gZd
d� Zdd
� Zdd� Zddd�Zdd� Zdd� ZdS )�PyMySQLTestCasezdatabases.json� localhost�root� Ztest_pymysqlT)�host�user�passwd�db�use_unicode�local_infileZ
test_pymysql2)r r r
r c C s4 |� � }tdd� t�d|��ddd�D ��}||kS )z�Return True if the given connection is on the version given or
greater.
e.g.::
if self.mysql_server_is(conn, (5, 6, 4)):
# do something for MySQL 5.6.4 and above
c s s"