Skip to content

Commit 11a3401

Browse files
Alison WuAlison Wu
authored andcommitted
edited tests based on fixed file and function names
1 parent 165ffb8 commit 11a3401

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

tests/test_loaddata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import numpy
99
import pytest
1010

11-
from diffpy.utils.parsers import loadData
11+
from diffpy.utils.parsers.loaddata import loadData
1212

1313

1414
##############################################################################

tests/test_resample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
import pytest
33

4-
from diffpy.utils.parsers.resample import wsinterp
4+
from diffpy.utils.resampler import wsinterp
55

66

77
def test_wsinterp():

tests/test_serialization.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
import numpy
44
import pytest
55

6-
from diffpy.utils.parsers import deserialize_data, loadData, serialize_data
76
from diffpy.utils.parsers.custom_exceptions import ImproperSizeError, UnsupportedTypeError
7+
from diffpy.utils.parsers.loaddata import loadData
8+
from diffpy.utils.parsers.serialization import deserialize_data, serialize_data
89

910
tests_dir = os.path.dirname(os.path.abspath(locals().get("__file__", "file.py")))
1011

0 commit comments

Comments
 (0)