mirror of https://github.com/abinit/abipy.git
Fix string comparison
This commit is contained in:
parent
6f2b588411
commit
3e79f29975
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue