File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 23
23
24
24
"""Implementation of Statements."""
25
25
26
- import copy
27
26
import json
28
- import re
29
27
30
28
from .errors import ProgrammingError
31
29
from .expr import ExprParser
32
30
from .compat import STRING_TYPES
33
31
from .dbdoc import DbDoc
34
- from .result import SqlResult , Result , ColumnType
32
+ from .result import SqlResult , Result
35
33
from .protobuf import mysqlxpb_enum
36
34
37
35
Original file line number Diff line number Diff line change 38
38
else :
39
39
from urllib import quote_plus
40
40
41
+ from .test_mysqlx_crud import drop_table
42
+
43
+
41
44
LOGGER = logging .getLogger (tests .LOGGER_NAME )
42
45
43
46
_URI_TEST_RESULTS = ( # (uri, result)
@@ -420,7 +423,7 @@ def test_rollback(self):
420
423
self .session .rollback ()
421
424
self .assertEqual (table .count (), 0 )
422
425
423
- schema . drop_table (table_name )
426
+ drop_table (schema , table_name )
424
427
425
428
def test_commit (self ):
426
429
table_name = "t2"
@@ -441,7 +444,7 @@ def test_commit(self):
441
444
self .session .commit ()
442
445
self .assertEqual (table .count (), 1 )
443
446
444
- schema . drop_table (table_name )
447
+ drop_table (schema , table_name )
445
448
446
449
def test_close (self ):
447
450
session = mysqlx .get_session (self .connect_kwargs )
You can’t perform that action at this time.
0 commit comments