From cc23e99f320e5465db93b8cc021972a634692b63 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Wed, 8 Dec 2021 14:18:39 +1100 Subject: 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. --- tests/unix/extra_coverage.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/unix/extra_coverage.py') 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 -- cgit v1.2.3