open_toontown_panda3d/tests
rdb e5bd00f91f task: Implement garbage collector support for PythonTask
This adds persistent wrapper support (introduced by the previous commit) to PythonTask, which makes it possible for reference cycles involving tasks to be found and destroyed.

The major caveat is that it always creates a reference cycle.  This can be broken automatically if there is no more Python reference to it by the time the last C++ reference is dropped, but the other way around requires the garbage collector.

For tasks, I think this it is generally the case that the last reference is in C++, since tasks are usually created and then handed off to the C++ task manager, and for applications that don't want to rely on the GC, it is easy to work around.  If this turns out to be a problem, though, we can add a special garbage collection pass to the task manager.
2024-03-29 20:51:45 +01:00
..
audio tests: Update audio test to recognize missing sounds as NullAudioSound 2018-02-20 00:55:49 -07:00
bullet Merge branch 'release/1.10.x' 2022-06-29 19:09:59 +02:00
collide collide: Add CollisionHeightfield solid (#691) 2023-08-05 21:14:52 +02:00
dcparser tests: add some DCPacker unit tests (for #751) 2019-12-25 16:58:11 +01:00
directnotify directnotify: annotate types (#1527) 2023-10-09 09:46:32 +02:00
display Merge branch 'release/1.10.x' 2024-01-04 16:36:03 +01:00
dist Merge branch 'release/1.10.x' 2023-10-15 23:02:47 +02:00
distributed Move test code from across `direct` to proper test modules 2023-08-02 08:37:51 +02:00
dtoolutil Remove support for EOL Python versions 3.6 and 3.7 2023-08-04 14:20:59 +02:00
egg egg: add ability to read <Tangent> with four components 2019-02-05 00:30:54 +01:00
egg2pg tests: attempt to fix egg2pg test failure on macOS 2018-08-19 16:49:54 +02:00
event task: Implement garbage collector support for PythonTask 2024-03-29 20:51:45 +01:00
express tests: Skip encrypt_string test when building without OpenSSL 2023-02-22 23:31:32 +01:00
fsm Move test code from across `direct` to proper test modules 2023-08-02 08:37:51 +02:00
gobj tests: Don't rely on png being available for TexturePool tests 2023-02-24 23:01:40 +01:00
gui Merge branch 'release/1.10.x' 2024-01-23 16:56:38 +01:00
interrogate tests: Remove executable permissions from test_property.py 2023-02-22 18:20:39 +01:00
linmath linmath: Implement read-only buffer protocol support for vectors 2021-10-27 10:53:35 +02:00
mathutil tests: Add new unit test for Triangulator (also testing #985) 2020-08-18 18:38:19 +02:00
movies tests: Added video and audio tests 2023-02-07 18:08:32 +01:00
ode ode: fix OdeJoint.attach with None parameters 2019-04-28 22:29:29 +02:00
particles Move test code from across `direct` to proper test modules 2023-08-02 08:37:51 +02:00
pgraph interrogate: Support subclassing C++ objects from Python 2024-03-29 20:51:34 +01:00
physics Move test code from across `direct` to proper test modules 2023-08-02 08:37:51 +02:00
pipeline tests: Switch from deprecated ConditionVarFull to ConditionVar 2022-02-22 15:22:10 +01:00
pnmimage pnmimage: Added offset to add_sub_image and mult_sub_image 2020-04-25 22:56:40 +02:00
prc Merge commit 'e0d34131822a8852ff72dc9c5597f4dc6900719a' 2020-09-13 16:17:06 +02:00
putil Squash merge webgl-port branch into master 2024-01-25 15:37:38 +01:00
showbase tests: Fix an issue running tests with some Python 3.4 setups 2023-10-15 16:21:30 +02:00
stdpy Move test code from across `direct` to proper test modules 2023-08-02 08:37:51 +02:00
task task: Annotate core functions (#1548) 2023-10-13 21:20:20 +02:00
text tests: add unit test for TextNode::write, see #431 2018-10-28 11:45:39 +01:00
tform tform: MouseWatcher sort should uniquify duplicates 2018-06-12 13:44:24 +02:00
tkpanels tests: Don't run tkpanels.Placer test without Tk already inited 2023-10-14 20:07:35 +02:00
tkwidgets Move test code from across `direct` to proper test modules 2023-08-02 08:37:51 +02:00
build_samples.py tests/build_samples: Use temporary directories to avoid in-source builds 2019-01-04 18:55:31 -08:00
conftest.py tests: Don't require tkinter to be able to run test suite 2023-08-05 10:29:32 +02:00
main.py deploy-ng: Add files to build application out of the unit tests 2017-11-25 17:36:02 -08:00
requirements.txt workflow: Add setuptools as requirement when testing Python 3.12 2023-10-14 11:29:02 +02:00
run_mypy.py tests: Don't expect mypy to be on the system PATH 2023-10-22 10:39:41 +02:00
setup.py tests: fix syntax error in setup.py, use default platforms 2018-12-28 15:36:02 +01:00
test_imports.py tests: Add unit test to check new panda3d.net module 2024-03-02 13:41:23 +01:00
test_tools.py tests: Further expand on tools tests 2023-08-03 13:21:38 +02:00