From 5e80c53c115e8b45df598ffdbc45dfdd543be8ac Mon Sep 17 00:00:00 2001 From: Rami Ali Date: Tue, 17 Jan 2017 17:26:59 +1100 Subject: tests/extmod: Improve test coverage of ure module. --- tests/extmod/ure_split_notimpl.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/extmod/ure_split_notimpl.py (limited to 'tests/extmod/ure_split_notimpl.py') diff --git a/tests/extmod/ure_split_notimpl.py b/tests/extmod/ure_split_notimpl.py new file mode 100644 index 000000000..724e9d43b --- /dev/null +++ b/tests/extmod/ure_split_notimpl.py @@ -0,0 +1,7 @@ +import ure as re + +r = re.compile('( )') +try: + s = r.split("a b c foobar") +except NotImplementedError: + print('NotImplementedError') -- cgit v1.2.3