Skip to content

Commit 2f30f05

Browse files
authored
Merge pull request #35 from berquist/master
range() in Python 3 doesn't create a list
2 parents 36a75c6 + 9e19e9a commit 2f30f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def testADF_ADF2013_01_stopiter_MoOCl4_sp_adfout(logfile):
134134
def testADF_ADF2016_fa2_adf_out(logfile):
135135
"""This logfile, without symmetry, should get atombasis parsed."""
136136
assert hasattr(logfile.data, "atombasis")
137-
assert [b for ab in logfile.data.atombasis for b in ab] == range(logfile.data.nbasis)
137+
assert [b for ab in logfile.data.atombasis for b in ab] == list(range(logfile.data.nbasis))
138138

139139
# DALTON #
140140

0 commit comments

Comments
 (0)