[ase-users] Ase test error
Ask Hjorth Larsen
asklarsen at gmail.com
Thu Mar 1 17:16:03 CET 2018
Hi Victor,
2018-03-01 15:20 GMT+01:00 Chang Lee, Victor via ase-users
<ase-users at listserv.fysik.dtu.dk>:
> Hi,
>
>
>
> I’m trying to install ASE on my mac (mac OS 10) but I got this error after
> running ase test:
>
>
>
> ERROR: doctests.py
The doctests are mostly for developers who want to build the
documentation. You can safely ignore this failure.
(Furthermore I think this was fixed in master.)
Best regards
Ask
>
> ----------------------------------------------------------------------
>
> Traceback (most recent call last):
>
> File
> "/Users/victor/Library/Python/2.7/lib/python/site-packages/ase-3.15.0-py2.7.egg/ase/test/__init__.py",
> line 50, in testfile
>
> exec(compile(fd.read(), self.filename, 'exec'), {})
>
> File
> "/Users/victor/Library/Python/2.7/lib/python/site-packages/ase-3.15.0-py2.7.egg/ase/test/doctests.py",
> line 26, in <module>
>
> print(mod, doctest.testmod(mod, raise_on_error=True))
>
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py",
> line 1911, in testmod
>
> runner.run(test)
>
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py",
> line 1799, in run
>
> r = DocTestRunner.run(self, test, compileflags, out, False)
>
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py",
> line 1454, in run
>
> return self.__run(test, compileflags, out)
>
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py",
> line 1363, in __run
>
> self.report_failure(out, test, example, got)
>
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/doctest.py",
> line 1808, in report_failure
>
> raise DocTestFailure(test, example, got)
>
> DocTestFailure: <DocTest ase.spacegroup.spacegroup.Spacegroup from
> /Users/victor/Library/Python/2.7/lib/python/site-packages/ase-3.15.0-py2.7.egg/ase/spacegroup/spacegroup.py:49
> (6 examples)>
>
>
>
>
>
> Regards,
>
> Victor
>
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
More information about the ase-users
mailing list