KIU Shueng Chuan
9f54baed0c
test_reload.py: skip for PySide6 and Python 3.9
2021-01-16 14:37:21 +08:00
Ogi Moore
3cd9f9ff63
skip test_reload
2020-12-22 10:26:19 -08:00
Luke Campagnola
6fe23887b8
update reload unit test
2020-07-17 10:00:32 +03:00
Luke Campagnola
5723853308
revert behavior: reload modules with no pyc
...
Should fix unit test. Also: return a structure from reloadAll describing reasons for failure of each module to reload.
2020-07-13 15:29:00 -07:00
2xB
fa2a03b8ec
Write Python representation of path to Python file
...
Before, if the path contained escaped sequences, they would be parsed before being written to `reload_test_mod.py`, therefore when the file was parsed by the Python interpreter, the escape signs would be missing. With this commit, the Python representation is written to the file, so escaped sequences stay escaped.
2019-06-18 20:14:51 +02:00
Luke Campagnola
a1145b5cbf
Fix pytest assertion rewrite conflicting with reload by giving temporary module a different name
2018-04-26 14:43:20 -07:00
Luke Campagnola
6e392c2e0e
Fix disconnect test for pyside
2018-04-26 13:49:34 -07:00
Luke Campagnola
60a48ed2e4
reload tests pass in python 3
2018-04-26 13:22:47 -07:00
Luke Campagnola
7e5b40d265
Switch to assert=plain; apparently assert=reinterp is no longer supported
2017-09-06 09:58:42 -07:00
Luke Campagnola
4bca2ae879
fix reload test pycache removal
...
Ad a warning about using assert=rewrite
2017-09-06 09:39:26 -07:00
Luke Campagnola
db890b8ed8
Add unit test for reload(); make travis use --assert=reinterp (because assert=rewrite does not work with reload)
2017-09-06 09:13:56 -07:00