summaryrefslogtreecommitdiff
path: root/libmat2/parsers/abstract.py
diff options
context:
space:
mode:
authorjvoisin2018-03-18 21:42:12 +0100
committerjvoisin2018-03-18 21:42:12 +0100
commitdf3c27d79dec231809deb4e617070a16858c306d (patch)
tree7d7d565e989faea26f0da8ea727bf7c2b2897abd /libmat2/parsers/abstract.py
parent069765376d5a5a1123901a997581c559b4a461f6 (diff)
Improve the testsuite
Diffstat (limited to 'libmat2/parsers/abstract.py')
-rw-r--r--libmat2/parsers/abstract.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmat2/parsers/abstract.py b/libmat2/parsers/abstract.py
new file mode 100644
index 0000000..a9129cc
--- /dev/null
+++ b/libmat2/parsers/abstract.py
@@ -0,0 +1,10 @@
1class AbstractParser(object):
2 def __init__(self, filename: str):
3 self.filename = filename
4 self.meta_list = set()
5
6 def get_meta(self):
7 raise NotImplementedError
8
9 def remove_all(self):
10 raise NotImplementedError