Skip to content

Commit f32c805

Browse files
Alison WuAlison Wu
authored andcommitted
re-edit tests
1 parent 57e8a0b commit f32c805

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

news/utils-restructure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
**Fixed:**
1818

19-
* File and function names are now all in PEP8 format
19+
* <news item>
2020

2121
**Security:**
2222

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)