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ść
e4cf09527b
micropython-lib
/
python-stdlib
/
unittest
/
manifest.py
4 wiersze
48 B
Python
Czysty
Zwykły widok
Historia
Unescape
Escape
unittest: Always use "raise" with an argument. So this code can be compiled with the MicroPython native emitter, which does not support "raise" without any arguments. Signed-off-by: Damien George <damien@micropython.org>
2024-11-18 01:00:38 +00:00
metadata
(
version
=
"
0.10.4
"
)
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
"
)