Skip to content

Commit a5d7d0b

Browse files
committed
Remove test dep skips for moto
1 parent a231262 commit a5d7d0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/io/parser/test_network.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import os
88

99
import pytest
10+
import moto
1011

1112
import pandas.util.testing as tm
1213
from pandas import DataFrame
@@ -28,7 +29,6 @@ def salaries_table():
2829
@pytest.fixture(scope='module')
2930
def test_s3_resource(tips_file):
3031
pytest.importorskip('s3fs')
31-
moto = pytest.importorskip('moto')
3232
moto.mock_s3().start()
3333

3434
test_s3_files = [

pandas/tests/io/test_excel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import numpy as np
1313
import pytest
1414
from numpy import nan
15+
import moto
1516

1617
import pandas as pd
1718
import pandas.util.testing as tm
@@ -598,7 +599,6 @@ def test_read_from_http_url(self):
598599

599600
def test_read_from_s3_url(self):
600601
boto3 = pytest.importorskip('boto3')
601-
moto = pytest.importorskip('moto')
602602
pytest.importorskip('s3fs')
603603

604604
with moto.mock_s3():

0 commit comments

Comments
 (0)