Skip to content

Commit 7293c68

Browse files
committed
fix: change import directory
1 parent a8689bf commit 7293c68

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

tests/test_exceptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818

1919
import pytest
2020

21-
from diffpy.pdffit2 import PdfFit, pdffit2
21+
from diffpy.pdffit2 import pdffit2
22+
from diffpy.pdffit2.pdffit import PdfFit
2223

2324

2425
class read_structExceptions(unittest.TestCase):

tests/test_pdffit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
import pytest
88

9-
from diffpy.pdffit2 import PdfFit, pdffit2
9+
from diffpy.pdffit2 import pdffit2
10+
from diffpy.pdffit2.pdffit import PdfFit
1011
from diffpy.structure import loadStructure
1112

1213
# ----------------------------------------------------------------------------

tests/test_phase_fractions.py

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

77
import pytest
88

9-
from diffpy.pdffit2 import PdfFit
9+
from diffpy.pdffit2.pdffit import PdfFit
1010

1111

1212
##############################################################################

tests/test_shape_factors.py

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

11-
from diffpy.pdffit2 import PdfFit, pdffit2
11+
from diffpy.pdffit2 import pdffit2
12+
from diffpy.pdffit2.pdffit import PdfFit
1213

1314

1415
def spherefactor(r, d):

0 commit comments

Comments
 (0)