This website requires JavaScript.
Odkrywaj
Pomoc
Zarejestruj się
Zaloguj się
mirror
/
micropython-lib
kopia lustrzana
https://github.com/micropython/micropython-lib
Obserwuj
1
Polub
0
Forkuj
You've already forked micropython-lib
0
Kod
Zgłoszenia
Projekty
Wydania
Wiki
Aktywność
ea21cb3fdc
micropython-lib
/
python-stdlib
/
unittest
/
manifest.py
4 wiersze
48 B
Python
Czysty
Zwykły widok
Historia
Unescape
Escape
unittest: Remove dependence on sys.exc_info. This is not included by default in most builds, and isn't necessary for this module anyway. Also fix the local variable shadowing the traceback module in _capture_exc. Added test for both (works on CPython and MicroPython). Version bump to 0.10.2. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-01-28 16:28:56 +00:00
metadata
(
version
=
"
0.10.2
"
)
unittest: Move back to python-stdlib. In order to make this more suitable for non-unix ports, the discovery functionality is moved to a separate 'extension' module which can be optionally installed. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-09 15:18:24 +00:00
unittest: Convert to a package. This allows a much more natural way of implementing unitttest-discover: - unittest provides unittest/__init__.py - unittest-discover provides unittest/__main__.py It also fixes an bug where unittest.py previously detected the presence of unittest-discover.py by importing an checking for the ImportError. But that could also be raised by a missing dependency. Now when you run `micropython -m unittest` without unittest-discover, you get `ImportError: no module named 'unittest.__main__'`, and without the required deps, `ImportError: no module named 'argparse'`. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-10-14 06:10:19 +00:00
package
(
"
unittest
"
)