diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-01-15 22:39:03 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-01-15 22:39:03 +0000 |
| commit | 4899ff9470734f0593bbe1f5272bc3d23facf7f7 (patch) | |
| tree | 929b1674e445726b50e3ff2acc1e5706e9b8f5ea /tests | |
| parent | 7a9d0c454076b6524f3f6f5af9a6b28bc35da2f9 (diff) | |
| parent | 36c4499d36a36ab3e1a68545e613bce61fb15f3c (diff) | |
Merge branch 'str-repr' of github.com:pfalcon/micropython into pfalcon-str-repr
Conflicts:
tests/basics/tests/exception1.py
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basics/tests/exception1.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/basics/tests/exception1.py b/tests/basics/tests/exception1.py index 14817fb93..71d5ad304 100644 --- a/tests/basics/tests/exception1.py +++ b/tests/basics/tests/exception1.py @@ -1,2 +1,9 @@ +print(repr(IndexError())) +print(str(IndexError())) + +print(repr(IndexError("foo"))) +print(str(IndexError("foo"))) + a = IndexError(1, "test", [100, 200]) print(repr(a)) +print(str(a)) |
