We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe48cbd commit 684e8d6Copy full SHA for 684e8d6
src/diffpy/structure/tests/testloadstructure.py
@@ -46,8 +46,9 @@ def test_cif_pathlib(self):
46
"""check loading of CIF file format from pathlib.Path
47
"""
48
f = datafile('PbTe.cif')
49
- f = Path(f)
50
- stru = loadStructure(f)
+ p = Path(f)
+ self.assertTrue(isinstance(p, Path))
51
+ stru = loadStructure(p)
52
self.assertTrue(isinstance(stru, Structure))
53
self.assertFalse(isinstance(stru, PDFFitStructure))
54
return
0 commit comments