Skip to content

Commit

Permalink
removed print from tests
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Sep 27, 2023
1 parent cea8b10 commit 1ead994
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions src/sisl/io/tests/test_xsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ def test_axsf_geoms(sisl_tmp):
rgeoms = s.read_geometry[0:2]()
assert len(rgeoms) == 2
assert all(isinstance(rg, Geometry) for rg in rgeoms)
print()
#for g, rg in zip(geoms, rgeoms):
# print(g)
# print(rg)
assert all(g.equal(rg) for g, rg in zip(geoms, rgeoms))

with xsfSile(f) as s:
Expand Down
2 changes: 0 additions & 2 deletions src/sisl/tests/test_sgeom.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,11 @@ def test_remove(self, setup):
assert len(g) == N - l

def test_rotation1(self, setup):
print(setup.g.cell)
rot = setup.sg_g(argv='--rotate 180 z'.split())
rot.lattice.cell[2, 2] *= -1
assert np.allclose(-rot.lattice.cell, setup.g.lattice.cell)
assert np.allclose(-rot.xyz, setup.g.xyz)

print(setup.g.cell)
rot = setup.sg_g(argv='--rotate-z 180'.split())
rot.lattice.cell[2, 2] *= -1
assert np.allclose(-rot.lattice.cell, setup.g.lattice.cell)
Expand Down
2 changes: 1 addition & 1 deletion src/sisl/typing/tests/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
def test_argument():

def func(a: st.AtomsArgument):
print(a)
str(a)

0 comments on commit 1ead994

Please sign in to comment.