File: test_match_magic.py

package info (click to toggle)
python-ase 3.26.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (19 lines) | stat: -rw-r--r-- 323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# fmt: off
from ase.io.formats import ioformats


# flake8: noqa
def test_match_magic():

    text = b"""

      ___ ___ ___ _ _ _  
     |   |   |_  | | | | 
     | | | | | . | | | | 
     |__ |  _|___|_____|  19.8.2b1
     |___|_|             

    """

    gpaw = ioformats['gpaw-out']
    assert gpaw.match_magic(text)