From 1ead99452ed1b4847f7857011ed39af49d512a02 Mon Sep 17 00:00:00 2001 From: Nick Papior Date: Wed, 27 Sep 2023 11:06:08 +0200 Subject: [PATCH] removed print from tests Signed-off-by: Nick Papior --- src/sisl/io/tests/test_xsf.py | 4 ---- src/sisl/tests/test_sgeom.py | 2 -- src/sisl/typing/tests/test_typing.py | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/sisl/io/tests/test_xsf.py b/src/sisl/io/tests/test_xsf.py index cf38837d64..64ac1de5e8 100644 --- a/src/sisl/io/tests/test_xsf.py +++ b/src/sisl/io/tests/test_xsf.py @@ -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: diff --git a/src/sisl/tests/test_sgeom.py b/src/sisl/tests/test_sgeom.py index 41f90c512b..8f718f4d9c 100644 --- a/src/sisl/tests/test_sgeom.py +++ b/src/sisl/tests/test_sgeom.py @@ -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) diff --git a/src/sisl/typing/tests/test_typing.py b/src/sisl/typing/tests/test_typing.py index 14e5bb4df2..135880273e 100644 --- a/src/sisl/typing/tests/test_typing.py +++ b/src/sisl/typing/tests/test_typing.py @@ -13,5 +13,5 @@ def test_argument(): def func(a: st.AtomsArgument): - print(a) + str(a)