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 | |
| 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')
| -rw-r--r-- | tests/unix/extra_coverage.py | 6 | ||||
| -rw-r--r-- | tests/unix/extra_coverage.py.exp | 1 |
2 files changed, 0 insertions, 7 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 diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp index ea91813fc..8ee233a71 100644 --- a/tests/unix/extra_coverage.py.exp +++ b/tests/unix/extra_coverage.py.exp @@ -174,5 +174,4 @@ frzstr_pkg2.mod frzmpy_pkg2.mod 1 ZeroDivisionError -b'# test frozen package' NULL |
