Fix string comparison

This commit is contained in:
Matteo Giantomassi 2018-01-08 17:58:50 +01:00
parent 6f2b588411
commit 3e79f29975
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class KmeshTest(AbipyTest):
def test_unshifted_kmesh(self):
"""Testing the generation of unshifted kmeshes."""
def rm_spaces(s):
return " ".join(s.split())
return " ".join(s.split()).replace("[ ", "[")
mpdivs, shifts = [1, 2, 3], [0, 0, 0]