File tree Expand file tree Collapse file tree 4 files changed +5
-11
lines changed Expand file tree Collapse file tree 4 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 11
11
12
12
import pytest
13
13
import numpy .testing as nptest
14
- import pandas .util . testing as pdtest
14
+ import pandas .testing as pdtest
15
15
16
16
from pygridtools import core
17
17
from pygridgen .tests import raises
Original file line number Diff line number Diff line change 9
9
10
10
import pytest
11
11
import numpy .testing as nptest
12
- import pandas .util . testing as pdtest
12
+ import pandas .testing as pdtest
13
13
14
14
from pygridtools import gefdc
15
15
from . import utils
Original file line number Diff line number Diff line change 10
10
11
11
import pytest
12
12
import numpy .testing as nptest
13
- import pandas .util . testing as pdtest
13
+ import pandas .testing as pdtest
14
14
15
15
try :
16
16
import ipywidgets
Original file line number Diff line number Diff line change 1
- from pkg_resources import resource_filename
2
- from contextlib import contextmanager
3
- from functools import wraps
4
- from pathlib import Path
5
1
import filecmp
6
2
7
3
10
6
except ImportError :
11
7
pytest = None
12
8
13
- import numpy . testing as nptest
14
- import pandas .util . testing as pdtest
9
+
10
+ import pandas .testing as pdtest
15
11
16
12
import geopandas
17
13
18
14
19
15
def assert_textfiles_equal (baselinefile , outputfile ):
20
- expectedtext = Path (baselinefile ).open ('r' ).read ()
21
- resulttext = Path (outputfile ).open ('r' ).read ()
22
16
assert filecmp .cmp (baselinefile , outputfile )
23
17
24
18
You can’t perform that action at this time.
0 commit comments