Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.37 KB | None | 0 0
  1. ============================= test session starts =============================
  2. platform win32 -- Python 3.7.4, pytest-5.2.2, py-1.8.0, pluggy-0.13.0
  3. rootdir: D:\Projetos\panda3d, inifile: setup.cfg, testpaths: tests
  4. collected 672 items
  5.  
  6. tests\test_imports.py ..ss [ 0%]
  7. tests\audio\test_loading.py . [ 0%]
  8. tests\bullet\test_bullet_bam.py ........ [ 1%]
  9. tests\bullet\test_bullet_callbacks.py .s. [ 2%]
  10. tests\bullet\test_bullet_heightfield.py . [ 2%]
  11. tests\bullet\test_bullet_simulation.py ... [ 2%]
  12. tests\collide\test_collision_tube.py ..... [ 3%]
  13. tests\collide\test_into_box.py .... [ 4%]
  14. tests\collide\test_into_capsule.py . [ 4%]
  15. tests\collide\test_into_invsphere.py . [ 4%]
  16. tests\collide\test_into_lines.py .... [ 5%]
  17. tests\collide\test_into_poly.py ... [ 5%]
  18. tests\collide\test_into_sphere.py ..... [ 6%]
  19. tests\display\test_cg_shader.py ss [ 6%]
  20. tests\display\test_color_buffer.py sssssssssssssssssssssssssssssssssssss [ 12%]
  21. ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 22%]
  22. ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 33%]
  23. sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 42%]
  24. tests\display\test_depth_buffer.py ssssssssssssssssss [ 45%]
  25. tests\display\test_fbprops.py ... [ 45%]
  26. tests\display\test_glsl_shader.py sssssssssssssssss [ 48%]
  27. tests\display\test_window.py s [ 48%]
  28. tests\display\test_winprops.py ..... [ 49%]
  29. tests\dtoolutil\test_filename.py ... [ 49%]
  30. tests\dtoolutil\test_globpattern.py . [ 49%]
  31. tests\dtoolutil\test_iostream.py ......... [ 51%]
  32. tests\dtoolutil\test_textencoder.py ....... [ 52%]
  33. tests\egg\test_egg_transform.py ................ [ 54%]
  34. tests\egg\test_egg_vertex_uv.py .... [ 55%]
  35. tests\egg2pg\test_egg_coordsys.py .................................... [ 60%]
  36. tests\event\test_futures.py ................ [ 62%]
  37. tests\event\test_pythontask.py ..... [ 63%]
  38. tests\express\test_encrypt.py . [ 63%]
  39. tests\express\test_hashval.py . [ 63%]
  40. tests\express\test_multifile.py . [ 64%]
  41. tests\gobj\test_geom.py .... [ 64%]
  42. tests\gobj\test_geom_primitives.py ... [ 65%]
  43. tests\gobj\test_lenses.py ... [ 65%]
  44. tests\gobj\test_shader.py .. [ 65%]
  45. tests\gobj\test_texture.py .......... [ 67%]
  46. tests\gobj\test_texture_peek.py ....... [ 68%]
  47. tests\gobj\test_texture_pool.py EEEEEEEEEEEEEEEEEEEEEEEE [ 72%]
  48. tests\gui\test_DirectButton.py . [ 72%]
  49. tests\gui\test_DirectEntry.py ... [ 72%]
  50. tests\gui\test_DirectGuiBase.py ............... [ 74%]
  51. tests\gui\test_DirectOptionMenu.py ...... [ 75%]
  52. tests\interrogate\test_property.py ................................ [ 80%]
  53. tests\linmath\test_lmatrix3.py ....... [ 81%]
  54. tests\linmath\test_lmatrix4.py ............. [ 83%]
  55. tests\mathutil\test_bounding_plane.py .. [ 83%]
  56. tests\movies\test_user_audio.py .. [ 84%]
  57. tests\ode\test_ode_joints.py ... [ 84%]
  58. tests\pgraph\test_light.py . [ 84%]
  59. tests\pgraph\test_lightattrib.py .... [ 85%]
  60. tests\pgraph\test_loader_types.py ....... [ 86%]
  61. tests\pgraph\test_nodepath.py ........ [ 87%]
  62. tests\pipeline\test_condition_var.py .......... [ 88%]
  63. tests\pipeline\test_mutex.py ....... [ 90%]
  64. tests\pnmimage\test_pnmimage.py ..... [ 90%]
  65. tests\prc\test_config_page.py . [ 90%]
  66. tests\prc\test_encrypt_stream.py . [ 91%]
  67. tests\prc\test_stream_reader.py ...... [ 91%]
  68. tests\putil\test_bitmask.py . [ 92%]
  69. tests\putil\test_clockobject.py .... [ 92%]
  70. tests\putil\test_datagram.py ............. [ 94%]
  71. tests\putil\test_modifierbuttons.py .. [ 94%]
  72. tests\putil\test_sparsearray.py ........ [ 96%]
  73. tests\putil\test_updateseq.py ... [ 96%]
  74. tests\showbase\test_Audio3DManager.py .. [ 96%]
  75. tests\showbase\test_Loader.py ....... [ 97%]
  76. tests\showbase\test_PythonUtil.py ..... [ 98%]
  77. tests\text\test_text_assemble.py . [ 98%]
  78. tests\text\test_textnode.py ....... [ 99%]
  79. tests\tform\test_mousewatcher.py . [100%]
  80.  
  81. =================================== ERRORS ====================================
  82. __________________ ERROR at setup of test_load_texture_rgba ___________________
  83.  
  84. @pytest.fixture(scope='session')
  85. def image_rgba_path():
  86. "Generates an RGBA image."
  87.  
  88. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  89. path = core.Filename.from_os_specific(file.name)
  90. path.make_true_case()
  91. > write_image(path, 4)
  92.  
  93. tests\gobj\test_texture_pool.py:39:
  94. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  95.  
  96. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  97. channels = 4
  98.  
  99. def write_image(filename, channels):
  100. img = core.PNMImage(1, 1, channels)
  101. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  102. > assert img.write(filename)
  103. E AssertionError: assert False
  104. 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'))
  105. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  106.  
  107. tests\gobj\test_texture_pool.py:17: AssertionError
  108. __________________ ERROR at setup of test_load_texture_rgba4 __________________
  109.  
  110. @pytest.fixture(scope='session')
  111. def image_rgba_path():
  112. "Generates an RGBA image."
  113.  
  114. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  115. path = core.Filename.from_os_specific(file.name)
  116. path.make_true_case()
  117. > write_image(path, 4)
  118.  
  119. tests\gobj\test_texture_pool.py:39:
  120. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  121.  
  122. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  123. channels = 4
  124.  
  125. def write_image(filename, channels):
  126. img = core.PNMImage(1, 1, channels)
  127. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  128. > assert img.write(filename)
  129. E AssertionError: assert False
  130. 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'))
  131. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  132.  
  133. tests\gobj\test_texture_pool.py:17: AssertionError
  134. __________________ ERROR at setup of test_load_texture_rgba3 __________________
  135.  
  136. @pytest.fixture(scope='session')
  137. def image_rgba_path():
  138. "Generates an RGBA image."
  139.  
  140. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  141. path = core.Filename.from_os_specific(file.name)
  142. path.make_true_case()
  143. > write_image(path, 4)
  144.  
  145. tests\gobj\test_texture_pool.py:39:
  146. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  147.  
  148. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  149. channels = 4
  150.  
  151. def write_image(filename, channels):
  152. img = core.PNMImage(1, 1, channels)
  153. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  154. > assert img.write(filename)
  155. E AssertionError: assert False
  156. 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'))
  157. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  158.  
  159. tests\gobj\test_texture_pool.py:17: AssertionError
  160. __________________ ERROR at setup of test_load_texture_rgba2 __________________
  161.  
  162. @pytest.fixture(scope='session')
  163. def image_rgba_path():
  164. "Generates an RGBA image."
  165.  
  166. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  167. path = core.Filename.from_os_specific(file.name)
  168. path.make_true_case()
  169. > write_image(path, 4)
  170.  
  171. tests\gobj\test_texture_pool.py:39:
  172. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  173.  
  174. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  175. channels = 4
  176.  
  177. def write_image(filename, channels):
  178. img = core.PNMImage(1, 1, channels)
  179. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  180. > assert img.write(filename)
  181. E AssertionError: assert False
  182. 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'))
  183. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  184.  
  185. tests\gobj\test_texture_pool.py:17: AssertionError
  186. __________________ ERROR at setup of test_load_texture_rgba1 __________________
  187.  
  188. @pytest.fixture(scope='session')
  189. def image_rgba_path():
  190. "Generates an RGBA image."
  191.  
  192. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  193. path = core.Filename.from_os_specific(file.name)
  194. path.make_true_case()
  195. > write_image(path, 4)
  196.  
  197. tests\gobj\test_texture_pool.py:39:
  198. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  199.  
  200. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  201. channels = 4
  202.  
  203. def write_image(filename, channels):
  204. img = core.PNMImage(1, 1, channels)
  205. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  206. > assert img.write(filename)
  207. E AssertionError: assert False
  208. 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'))
  209. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  210.  
  211. tests\gobj\test_texture_pool.py:17: AssertionError
  212. ___________________ ERROR at setup of test_load_texture_rgb ___________________
  213.  
  214. @pytest.fixture(scope='session')
  215. def image_rgb_path():
  216. "Generates an RGB image."
  217.  
  218. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  219. path = core.Filename.from_os_specific(file.name)
  220. path.make_true_case()
  221. > write_image(path, 3)
  222.  
  223. tests\gobj\test_texture_pool.py:27:
  224. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  225.  
  226. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  227. channels = 3
  228.  
  229. def write_image(filename, channels):
  230. img = core.PNMImage(1, 1, channels)
  231. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  232. > assert img.write(filename)
  233. E AssertionError: assert False
  234. 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'))
  235. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  236.  
  237. tests\gobj\test_texture_pool.py:17: AssertionError
  238. __________________ ERROR at setup of test_load_texture_rgb4 ___________________
  239.  
  240. @pytest.fixture(scope='session')
  241. def image_rgb_path():
  242. "Generates an RGB image."
  243.  
  244. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  245. path = core.Filename.from_os_specific(file.name)
  246. path.make_true_case()
  247. > write_image(path, 3)
  248.  
  249. tests\gobj\test_texture_pool.py:27:
  250. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  251.  
  252. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  253. channels = 3
  254.  
  255. def write_image(filename, channels):
  256. img = core.PNMImage(1, 1, channels)
  257. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  258. > assert img.write(filename)
  259. E AssertionError: assert False
  260. 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'))
  261. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  262.  
  263. tests\gobj\test_texture_pool.py:17: AssertionError
  264. __________________ ERROR at setup of test_load_texture_rgb3 ___________________
  265.  
  266. @pytest.fixture(scope='session')
  267. def image_rgb_path():
  268. "Generates an RGB image."
  269.  
  270. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  271. path = core.Filename.from_os_specific(file.name)
  272. path.make_true_case()
  273. > write_image(path, 3)
  274.  
  275. tests\gobj\test_texture_pool.py:27:
  276. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  277.  
  278. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  279. channels = 3
  280.  
  281. def write_image(filename, channels):
  282. img = core.PNMImage(1, 1, channels)
  283. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  284. > assert img.write(filename)
  285. E AssertionError: assert False
  286. 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'))
  287. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  288.  
  289. tests\gobj\test_texture_pool.py:17: AssertionError
  290. __________________ ERROR at setup of test_load_texture_rgb2 ___________________
  291.  
  292. @pytest.fixture(scope='session')
  293. def image_rgb_path():
  294. "Generates an RGB image."
  295.  
  296. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  297. path = core.Filename.from_os_specific(file.name)
  298. path.make_true_case()
  299. > write_image(path, 3)
  300.  
  301. tests\gobj\test_texture_pool.py:27:
  302. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  303.  
  304. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  305. channels = 3
  306.  
  307. def write_image(filename, channels):
  308. img = core.PNMImage(1, 1, channels)
  309. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  310. > assert img.write(filename)
  311. E AssertionError: assert False
  312. 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'))
  313. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  314.  
  315. tests\gobj\test_texture_pool.py:17: AssertionError
  316. __________________ ERROR at setup of test_load_texture_rgb1 ___________________
  317.  
  318. @pytest.fixture(scope='session')
  319. def image_rgb_path():
  320. "Generates an RGB image."
  321.  
  322. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  323. path = core.Filename.from_os_specific(file.name)
  324. path.make_true_case()
  325. > write_image(path, 3)
  326.  
  327. tests\gobj\test_texture_pool.py:27:
  328. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  329.  
  330. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  331. channels = 3
  332.  
  333. def write_image(filename, channels):
  334. img = core.PNMImage(1, 1, channels)
  335. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  336. > assert img.write(filename)
  337. E AssertionError: assert False
  338. 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'))
  339. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  340.  
  341. tests\gobj\test_texture_pool.py:17: AssertionError
  342. _______________ ERROR at setup of test_load_texture_rgba_alpha ________________
  343.  
  344. @pytest.fixture(scope='session')
  345. def image_rgba_path():
  346. "Generates an RGBA image."
  347.  
  348. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  349. path = core.Filename.from_os_specific(file.name)
  350. path.make_true_case()
  351. > write_image(path, 4)
  352.  
  353. tests\gobj\test_texture_pool.py:39:
  354. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  355.  
  356. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  357. channels = 4
  358.  
  359. def write_image(filename, channels):
  360. img = core.PNMImage(1, 1, channels)
  361. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  362. > assert img.write(filename)
  363. E AssertionError: assert False
  364. 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'))
  365. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  366.  
  367. tests\gobj\test_texture_pool.py:17: AssertionError
  368. _______________ ERROR at setup of test_load_texture_rgba4_alpha _______________
  369.  
  370. @pytest.fixture(scope='session')
  371. def image_rgba_path():
  372. "Generates an RGBA image."
  373.  
  374. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  375. path = core.Filename.from_os_specific(file.name)
  376. path.make_true_case()
  377. > write_image(path, 4)
  378.  
  379. tests\gobj\test_texture_pool.py:39:
  380. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  381.  
  382. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  383. channels = 4
  384.  
  385. def write_image(filename, channels):
  386. img = core.PNMImage(1, 1, channels)
  387. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  388. > assert img.write(filename)
  389. E AssertionError: assert False
  390. 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'))
  391. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  392.  
  393. tests\gobj\test_texture_pool.py:17: AssertionError
  394. _______________ ERROR at setup of test_load_texture_rgba3_alpha _______________
  395.  
  396. @pytest.fixture(scope='session')
  397. def image_rgba_path():
  398. "Generates an RGBA image."
  399.  
  400. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  401. path = core.Filename.from_os_specific(file.name)
  402. path.make_true_case()
  403. > write_image(path, 4)
  404.  
  405. tests\gobj\test_texture_pool.py:39:
  406. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  407.  
  408. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  409. channels = 4
  410.  
  411. def write_image(filename, channels):
  412. img = core.PNMImage(1, 1, channels)
  413. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  414. > assert img.write(filename)
  415. E AssertionError: assert False
  416. 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'))
  417. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  418.  
  419. tests\gobj\test_texture_pool.py:17: AssertionError
  420. _______________ ERROR at setup of test_load_texture_rgba2_alpha _______________
  421.  
  422. @pytest.fixture(scope='session')
  423. def image_rgba_path():
  424. "Generates an RGBA image."
  425.  
  426. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  427. path = core.Filename.from_os_specific(file.name)
  428. path.make_true_case()
  429. > write_image(path, 4)
  430.  
  431. tests\gobj\test_texture_pool.py:39:
  432. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  433.  
  434. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  435. channels = 4
  436.  
  437. def write_image(filename, channels):
  438. img = core.PNMImage(1, 1, channels)
  439. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  440. > assert img.write(filename)
  441. E AssertionError: assert False
  442. 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'))
  443. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  444.  
  445. tests\gobj\test_texture_pool.py:17: AssertionError
  446. _______________ ERROR at setup of test_load_texture_rgba1_alpha _______________
  447.  
  448. @pytest.fixture(scope='session')
  449. def image_rgba_path():
  450. "Generates an RGBA image."
  451.  
  452. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  453. path = core.Filename.from_os_specific(file.name)
  454. path.make_true_case()
  455. > write_image(path, 4)
  456.  
  457. tests\gobj\test_texture_pool.py:39:
  458. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  459.  
  460. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  461. channels = 4
  462.  
  463. def write_image(filename, channels):
  464. img = core.PNMImage(1, 1, channels)
  465. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  466. > assert img.write(filename)
  467. E AssertionError: assert False
  468. 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'))
  469. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  470.  
  471. tests\gobj\test_texture_pool.py:17: AssertionError
  472. ________________ ERROR at setup of test_load_texture_rgb_alpha ________________
  473.  
  474. @pytest.fixture(scope='session')
  475. def image_rgb_path():
  476. "Generates an RGB image."
  477.  
  478. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  479. path = core.Filename.from_os_specific(file.name)
  480. path.make_true_case()
  481. > write_image(path, 3)
  482.  
  483. tests\gobj\test_texture_pool.py:27:
  484. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  485.  
  486. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  487. channels = 3
  488.  
  489. def write_image(filename, channels):
  490. img = core.PNMImage(1, 1, channels)
  491. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  492. > assert img.write(filename)
  493. E AssertionError: assert False
  494. 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'))
  495. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  496.  
  497. tests\gobj\test_texture_pool.py:17: AssertionError
  498. _______________ ERROR at setup of test_load_texture_rgb4_alpha ________________
  499.  
  500. @pytest.fixture(scope='session')
  501. def image_rgb_path():
  502. "Generates an RGB image."
  503.  
  504. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  505. path = core.Filename.from_os_specific(file.name)
  506. path.make_true_case()
  507. > write_image(path, 3)
  508.  
  509. tests\gobj\test_texture_pool.py:27:
  510. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  511.  
  512. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  513. channels = 3
  514.  
  515. def write_image(filename, channels):
  516. img = core.PNMImage(1, 1, channels)
  517. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  518. > assert img.write(filename)
  519. E AssertionError: assert False
  520. 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'))
  521. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  522.  
  523. tests\gobj\test_texture_pool.py:17: AssertionError
  524. _______________ ERROR at setup of test_load_texture_rgb3_alpha ________________
  525.  
  526. @pytest.fixture(scope='session')
  527. def image_rgb_path():
  528. "Generates an RGB image."
  529.  
  530. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  531. path = core.Filename.from_os_specific(file.name)
  532. path.make_true_case()
  533. > write_image(path, 3)
  534.  
  535. tests\gobj\test_texture_pool.py:27:
  536. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  537.  
  538. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  539. channels = 3
  540.  
  541. def write_image(filename, channels):
  542. img = core.PNMImage(1, 1, channels)
  543. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  544. > assert img.write(filename)
  545. E AssertionError: assert False
  546. 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'))
  547. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  548.  
  549. tests\gobj\test_texture_pool.py:17: AssertionError
  550. _______________ ERROR at setup of test_load_texture_rgb2_alpha ________________
  551.  
  552. @pytest.fixture(scope='session')
  553. def image_rgb_path():
  554. "Generates an RGB image."
  555.  
  556. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  557. path = core.Filename.from_os_specific(file.name)
  558. path.make_true_case()
  559. > write_image(path, 3)
  560.  
  561. tests\gobj\test_texture_pool.py:27:
  562. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  563.  
  564. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  565. channels = 3
  566.  
  567. def write_image(filename, channels):
  568. img = core.PNMImage(1, 1, channels)
  569. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  570. > assert img.write(filename)
  571. E AssertionError: assert False
  572. 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'))
  573. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  574.  
  575. tests\gobj\test_texture_pool.py:17: AssertionError
  576. _______________ ERROR at setup of test_load_texture_rgb1_alpha ________________
  577.  
  578. @pytest.fixture(scope='session')
  579. def image_rgb_path():
  580. "Generates an RGB image."
  581.  
  582. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  583. path = core.Filename.from_os_specific(file.name)
  584. path.make_true_case()
  585. > write_image(path, 3)
  586.  
  587. tests\gobj\test_texture_pool.py:27:
  588. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  589.  
  590. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  591. channels = 3
  592.  
  593. def write_image(filename, channels):
  594. img = core.PNMImage(1, 1, channels)
  595. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  596. > assert img.write(filename)
  597. E AssertionError: assert False
  598. 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'))
  599. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  600.  
  601. tests\gobj\test_texture_pool.py:17: AssertionError
  602. ____________ ERROR at setup of test_reload_texture_fewer_channels _____________
  603.  
  604. @pytest.fixture(scope='session')
  605. def image_rgba_path():
  606. "Generates an RGBA image."
  607.  
  608. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  609. path = core.Filename.from_os_specific(file.name)
  610. path.make_true_case()
  611. > write_image(path, 4)
  612.  
  613. tests\gobj\test_texture_pool.py:39:
  614. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  615.  
  616. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  617. channels = 4
  618.  
  619. def write_image(filename, channels):
  620. img = core.PNMImage(1, 1, channels)
  621. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  622. > assert img.write(filename)
  623. E AssertionError: assert False
  624. 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'))
  625. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  626.  
  627. tests\gobj\test_texture_pool.py:17: AssertionError
  628. _____________ ERROR at setup of test_reload_texture_more_channels _____________
  629.  
  630. @pytest.fixture(scope='session')
  631. def image_rgba_path():
  632. "Generates an RGBA image."
  633.  
  634. file = tempfile.NamedTemporaryFile(suffix='-rgba.png')
  635. path = core.Filename.from_os_specific(file.name)
  636. path.make_true_case()
  637. > write_image(path, 4)
  638.  
  639. tests\gobj\test_texture_pool.py:39:
  640. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  641.  
  642. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmp5svqyjei-rgba.png')
  643. channels = 4
  644.  
  645. def write_image(filename, channels):
  646. img = core.PNMImage(1, 1, channels)
  647. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  648. > assert img.write(filename)
  649. E AssertionError: assert False
  650. 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'))
  651. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F0A02D0> = image: 1 by 1 pixels, 4 channels, 255 maxval..write
  652.  
  653. tests\gobj\test_texture_pool.py:17: AssertionError
  654. ______________ ERROR at setup of test_reload_texture_with_alpha _______________
  655.  
  656. @pytest.fixture(scope='session')
  657. def image_rgb_path():
  658. "Generates an RGB image."
  659.  
  660. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  661. path = core.Filename.from_os_specific(file.name)
  662. path.make_true_case()
  663. > write_image(path, 3)
  664.  
  665. tests\gobj\test_texture_pool.py:27:
  666. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  667.  
  668. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  669. channels = 3
  670.  
  671. def write_image(filename, channels):
  672. img = core.PNMImage(1, 1, channels)
  673. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  674. > assert img.write(filename)
  675. E AssertionError: assert False
  676. 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'))
  677. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  678.  
  679. tests\gobj\test_texture_pool.py:17: AssertionError
  680. _____________ ERROR at setup of test_reload_texture_without_alpha _____________
  681.  
  682. @pytest.fixture(scope='session')
  683. def image_rgb_path():
  684. "Generates an RGB image."
  685.  
  686. file = tempfile.NamedTemporaryFile(suffix='-rgb.png')
  687. path = core.Filename.from_os_specific(file.name)
  688. path.make_true_case()
  689. > write_image(path, 3)
  690.  
  691. tests\gobj\test_texture_pool.py:27:
  692. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  693.  
  694. filename = Filename('/d/Users/L_BG_/AppData/Local/Temp/tmpsz6lu01f-rgb.png')
  695. channels = 3
  696.  
  697. def write_image(filename, channels):
  698. img = core.PNMImage(1, 1, channels)
  699. img.set_xel_a(0, 0, (0.0, 0.25, 0.5, 0.75))
  700. > assert img.write(filename)
  701. E AssertionError: assert False
  702. 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'))
  703. E + where <built-in method write of panda3d.core.PNMImage object at 0x000002DE3F21EC60> = image: 1 by 1 pixels, 3 channels, 255 maxval..write
  704.  
  705. tests\gobj\test_texture_pool.py:17: AssertionError
  706. ============================== warnings summary ===============================
  707. tests/test_imports.py::test_imports_panda3d
  708. 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
  709. import imp, importlib, os
  710.  
  711. -- Docs: https://docs.pytest.org/en/latest/warnings.html
  712. =========== 365 passed, 283 skipped, 1 warnings, 24 error in 29.17s ===========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement