diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2021-12-08 14:18:39 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-12-17 23:53:44 +1100 |
commit | cc23e99f320e5465db93b8cc021972a634692b63 (patch) | |
tree | d4ac5eeb22087a14b22599bce6513ee89232777b /tests/unix/extra_coverage.py | |
parent | d6dc4cb65a222bd05ec2746c37e457c56484e780 (diff) |
py/modio: Remove io.resource_stream function.
This feature is not enabled on any port, it's not in CPython's io module,
and functionality is better suited to the micropython-lib implementation of
pkg_resources.
Diffstat (limited to 'tests/unix/extra_coverage.py')
-rw-r--r-- | tests/unix/extra_coverage.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/unix/extra_coverage.py b/tests/unix/extra_coverage.py index b4808993a..8ea27cbf2 100644 --- a/tests/unix/extra_coverage.py +++ b/tests/unix/extra_coverage.py @@ -89,12 +89,6 @@ try: except ZeroDivisionError: print("ZeroDivisionError") -# test loading a resource from a frozen string -import uio - -buf = uio.resource_stream("frzstr_pkg2", "mod.py") -print(buf.read(21)) - # test for MP_QSTR_NULL regression from frzqstr import returns_NULL |