Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================= test session starts =============================
- platform win32 -- Python 3.7.4, pytest-5.2.2, py-1.8.0, pluggy-0.13.0
- rootdir: D:\Projetos\panda3d, inifile: setup.cfg, testpaths: tests
- collected 672 items
- tests\test_imports.py ..ss [ 0%]
- tests\audio\test_loading.py . [ 0%]
- tests\bullet\test_bullet_bam.py ........ [ 1%]
- tests\bullet\test_bullet_callbacks.py .s. [ 2%]
- tests\bullet\test_bullet_heightfield.py . [ 2%]
- tests\bullet\test_bullet_simulation.py ... [ 2%]
- tests\collide\test_collision_tube.py ..... [ 3%]
- tests\collide\test_into_box.py .... [ 4%]
- tests\collide\test_into_capsule.py . [ 4%]
- tests\collide\test_into_invsphere.py . [ 4%]
- tests\collide\test_into_lines.py .... [ 5%]
- tests\collide\test_into_poly.py ... [ 5%]
- tests\collide\test_into_sphere.py ..... [ 6%]
- tests\display\test_cg_shader.py ss [ 6%]
- tests\display\test_color_buffer.py sssssssssssssssssssssssssssssssssssss [ 12%]
- ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 22%]
- ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 33%]
- sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 42%]
- tests\display\test_depth_buffer.py ssssssssssssssssss [ 45%]
- tests\display\test_fbprops.py ... [ 45%]
- tests\display\test_glsl_shader.py sssssssssssssssss [ 48%]
- tests\display\test_window.py s [ 48%]
- tests\display\test_winprops.py ..... [ 49%]
- tests\dtoolutil\test_filename.py ... [ 49%]
- tests\dtoolutil\test_globpattern.py . [ 49%]
- tests\dtoolutil\test_iostream.py ......... [ 51%]
- tests\dtoolutil\test_textencoder.py ....... [ 52%]
- tests\egg\test_egg_transform.py ................ [ 54%]
- tests\egg\test_egg_vertex_uv.py .... [ 55%]
- tests\egg2pg\test_egg_coordsys.py .................................... [ 60%]
- tests\event\test_futures.py ................ [ 62%]
- tests\event\test_pythontask.py ..... [ 63%]
- tests\express\test_encrypt.py . [ 63%]
- tests\express\test_hashval.py . [ 63%]
- tests\express\test_multifile.py . [ 64%]
- tests\gobj\test_geom.py .... [ 64%]
- tests\gobj\test_geom_primitives.py ... [ 65%]
- tests\gobj\test_lenses.py ... [ 65%]
- tests\gobj\test_shader.py .. [ 65%]
- tests\gobj\test_texture.py .......... [ 67%]
- tests\gobj\test_texture_peek.py ....... [ 68%]
- tests\gobj\test_texture_pool.py EEEEEEEEEEEEEEEEEEEEEEEE [ 72%]
- tests\gui\test_DirectButton.py . [ 72%]
- tests\gui\test_DirectEntry.py ... [ 72%]
- tests\gui\test_DirectGuiBase.py ............... [ 74%]
- tests\gui\test_DirectOptionMenu.py ...... [ 75%]
- tests\interrogate\test_property.py ................................ [ 80%]
- tests\linmath\test_lmatrix3.py ....... [ 81%]
- tests\linmath\test_lmatrix4.py ............. [ 83%]
- tests\mathutil\test_bounding_plane.py .. [ 83%]
- tests\movies\test_user_audio.py .. [ 84%]
- tests\ode\test_ode_joints.py ... [ 84%]
- tests\pgraph\test_light.py . [ 84%]
- tests\pgraph\test_lightattrib.py .... [ 85%]
- tests\pgraph\test_loader_types.py ....... [ 86%]
- tests\pgraph\test_nodepath.py ........ [ 87%]
- tests\pipeline\test_condition_var.py .......... [ 88%]
- tests\pipeline\test_mutex.py ....... [ 90%]
- tests\pnmimage\test_pnmimage.py ..... [ 90%]
- tests\prc\test_config_page.py . [ 90%]
- tests\prc\test_encrypt_stream.py . [ 91%]
- tests\prc\test_stream_reader.py ...... [ 91%]
- tests\putil\test_bitmask.py . [ 92%]
- tests\putil\test_clockobject.py .... [ 92%]
- tests\putil\test_datagram.py ............. [ 94%]
- tests\putil\test_modifierbuttons.py .. [ 94%]
- tests\putil\test_sparsearray.py ........ [ 96%]
- tests\putil\test_updateseq.py ... [ 96%]
- tests\showbase\test_Audio3DManager.py .. [ 96%]
- tests\showbase\test_Loader.py ....... [ 97%]
- tests\showbase\test_PythonUtil.py ..... [ 98%]
- tests\text\test_text_assemble.py . [ 98%]
- tests\text\test_textnode.py ....... [ 99%]
- tests\tform\test_mousewatcher.py . [100%]
- =================================== ERRORS ====================================
- __________________ ERROR at setup of test_load_texture_rgba ___________________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgba4 __________________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgba3 __________________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgba2 __________________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgba1 __________________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- ___________________ ERROR at setup of test_load_texture_rgb ___________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgb4 ___________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgb3 ___________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgb2 ___________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- __________________ ERROR at setup of test_load_texture_rgb1 ___________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgba_alpha ________________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgba4_alpha _______________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgba3_alpha _______________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgba2_alpha _______________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgba1_alpha _______________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- ________________ ERROR at setup of test_load_texture_rgb_alpha ________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgb4_alpha ________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgb3_alpha ________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgb2_alpha ________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _______________ ERROR at setup of test_load_texture_rgb1_alpha ________________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- ____________ ERROR at setup of test_reload_texture_fewer_channels _____________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _____________ ERROR at setup of test_reload_texture_more_channels _____________
- @pytest.fixture(scope='session')
- def image_rgba_path():
- "Generates an RGBA image."
- file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 4)
- tests\gobj\test_texture_pool.py:39:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
- channels = 4
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- ______________ ERROR at setup of test_reload_texture_with_alpha _______________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- _____________ ERROR at setup of test_reload_texture_without_alpha _____________
- @pytest.fixture(scope='session')
- def image_rgb_path():
- "Generates an RGB image."
- file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
- path = core.Filename.from_os_specific(file.name)
- path.make_true_case()
- > write_image(path, 3)
- tests\gobj\test_texture_pool.py:27:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
- channels = 3
- def write_image(filename, channels):
- img = core.PNMImage(1, 1, channels)
- img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
- > assert img.write(filename)
- E AssertionError: assert False
- E + where False = <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60>(Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png'))
- E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
- tests\gobj\test_texture_pool.py:17: AssertionError
- ============================== warnings summary ===============================
- tests/test_imports.py::test_imports_panda3d
- D:\Projetos\panda3d\tests\test_imports.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
- import imp, importlib, os
- -- Docs: https://docs.pytest.org/en/latest/warnings.html
- =========== 365 passed, 283 skipped, 1 warnings, 24 error in 29.17s ===========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement