File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_get_rdataset():
14
14
internet_available = check_internet (test_url )
15
15
if not internet_available :
16
16
pytest .skip ('Unable to retrieve file - skipping test' )
17
- duncan = get_rdataset ("Duncan" , "car " , cache = cur_dir )
17
+ duncan = get_rdataset ("Duncan" , "carData " , cache = cur_dir )
18
18
assert_ (isinstance (duncan , utils .Dataset ))
19
19
duncan = get_rdataset ("Duncan" , "carData" , cache = cur_dir )
20
20
assert_ (duncan .from_cache )
Original file line number Diff line number Diff line change 1
1
"""
2
2
Tests for iolib/foreign.py
3
3
"""
4
+ from statsmodels .compat import PY3
5
+
4
6
import os
5
7
import warnings
6
8
from datetime import datetime
9
11
import numpy as np
10
12
from pandas import DataFrame , isnull
11
13
import pandas .util .testing as ptesting
12
- import pytest
13
14
14
15
from statsmodels .compat .python import BytesIO , asbytes
15
16
import statsmodels .api as sm
18
19
from statsmodels .datasets import macrodata
19
20
20
21
21
- from statsmodels .compat .pandas import version as pandas_version
22
-
23
22
# Test precisions
24
23
DECIMAL_4 = 4
25
24
DECIMAL_3 = 3
You can’t perform that action at this time.
0 commit comments