Skip to content

Commit e905cbe

Browse files
committed
Adding no cover tag to test code
1 parent 8d5396a commit e905cbe

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

tests/system/test_pandas.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
"google.cloud.bigquery_storage", minversion="2.0.0"
4646
)
4747

48-
if pandas is not None:
48+
if pandas is not None: #pragma: NO COVER
4949
PANDAS_INSTALLED_VERSION = metadata.version("pandas")
50-
else:
50+
else: #pragma: NO COVER
5151
PANDAS_INSTALLED_VERSION = "0.0.0"
5252

5353
PANDAS_INT64_VERSION = "1.0.0"

tests/unit/test__pandas_helpers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363

6464
PANDAS_MINIUM_VERSION = "1.0.0"
6565

66-
if pandas is not None:
66+
if pandas is not None: #pragma: NO COVER
6767
PANDAS_INSTALLED_VERSION = metadata.version("pandas")
68-
else:
68+
else: #pragma: NO COVER
6969
PANDAS_INSTALLED_VERSION = "0.0.0"
7070

7171

tests/unit/test_client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@
8282

8383
PANDAS_MINIUM_VERSION = "1.0.0"
8484

85-
if pandas is not None:
85+
if pandas is not None: #pragma: NO COVER
8686
PANDAS_INSTALLED_VERSION = metadata.version("pandas")
87-
else:
87+
else: #pragma: NO COVER
8888
PANDAS_INSTALLED_VERSION = "0.0.0"
8989

9090

tests/unit/test_table.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
except (ImportError, AttributeError): # pragma: NO COVER
7575
tqdm = None
7676

77-
if pandas is not None:
77+
if pandas is not None: #pragma: NO COVER
7878
PANDAS_INSTALLED_VERSION = metadata.version("pandas")
79-
else:
79+
else: #pragma: NO COVER
8080
PANDAS_INSTALLED_VERSION = "0.0.0"
8181

8282

tests/unit/test_table_pandas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
if pandas is not None: # pragma: NO COVER
3535
PANDAS_INSTALLED_VERSION = metadata.version("pandas")
36-
else:
36+
else: # pragma: NO COVER
3737
PANDAS_INSTALLED_VERSION = "0.0.0"
3838

3939

0 commit comments

Comments
 (0)