@@ -498,6 +498,7 @@ def sqlite_buildin_iris(sqlite_buildin, iris_path):
498
498
all_connectable_iris = sqlalchemy_connectable_iris + ["sqlite_buildin_iris" ]
499
499
500
500
501
+ @pytest .mark .db
501
502
@pytest .mark .parametrize ("conn" , all_connectable )
502
503
@pytest .mark .parametrize ("method" , [None , "multi" ])
503
504
def test_to_sql (conn , method , test_frame1 , request ):
@@ -508,6 +509,7 @@ def test_to_sql(conn, method, test_frame1, request):
508
509
assert count_rows (conn , "test_frame" ) == len (test_frame1 )
509
510
510
511
512
+ @pytest .mark .db
511
513
@pytest .mark .parametrize ("conn" , all_connectable )
512
514
@pytest .mark .parametrize ("mode, num_row_coef" , [("replace" , 1 ), ("append" , 2 )])
513
515
def test_to_sql_exist (conn , mode , num_row_coef , test_frame1 , request ):
@@ -519,6 +521,7 @@ def test_to_sql_exist(conn, mode, num_row_coef, test_frame1, request):
519
521
assert count_rows (conn , "test_frame" ) == num_row_coef * len (test_frame1 )
520
522
521
523
524
+ @pytest .mark .db
522
525
@pytest .mark .parametrize ("conn" , all_connectable )
523
526
def test_to_sql_exist_fail (conn , test_frame1 , request ):
524
527
conn = request .getfixturevalue (conn )
@@ -531,6 +534,7 @@ def test_to_sql_exist_fail(conn, test_frame1, request):
531
534
pandasSQL .to_sql (test_frame1 , "test_frame" , if_exists = "fail" )
532
535
533
536
537
+ @pytest .mark .db
534
538
@pytest .mark .parametrize ("conn" , all_connectable_iris )
535
539
def test_read_iris (conn , request ):
536
540
conn = request .getfixturevalue (conn )
@@ -539,6 +543,7 @@ def test_read_iris(conn, request):
539
543
check_iris_frame (iris_frame )
540
544
541
545
546
+ @pytest .mark .db
542
547
@pytest .mark .parametrize ("conn" , sqlalchemy_connectable )
543
548
def test_to_sql_callable (conn , test_frame1 , request ):
544
549
conn = request .getfixturevalue (conn )
@@ -557,6 +562,7 @@ def sample(pd_table, conn, keys, data_iter):
557
562
assert count_rows (conn , "test_frame" ) == len (test_frame1 )
558
563
559
564
565
+ @pytest .mark .db
560
566
@pytest .mark .parametrize ("conn" , mysql_connectable )
561
567
def test_default_type_conversion (conn , request ):
562
568
conn = request .getfixturevalue (conn )
@@ -575,6 +581,7 @@ def test_default_type_conversion(conn, request):
575
581
assert issubclass (df .BoolColWithNull .dtype .type , np .floating )
576
582
577
583
584
+ @pytest .mark .db
578
585
@pytest .mark .parametrize ("conn" , mysql_connectable )
579
586
def test_read_procedure (conn , request ):
580
587
conn = request .getfixturevalue (conn )
@@ -611,6 +618,7 @@ def test_read_procedure(conn, request):
611
618
tm .assert_frame_equal (df , res2 )
612
619
613
620
621
+ @pytest .mark .db
614
622
@pytest .mark .parametrize ("conn" , postgresql_connectable )
615
623
def test_copy_from_callable_insertion_method (conn , request ):
616
624
# GH 8953
0 commit comments