File: Skip-test-that-leads-to-a-mem-alloc-error-on-mipsel.patch

package info (click to toggle)
yt 4.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,284 kB
  • sloc: python: 131,884; ansic: 5,628; cpp: 1,588; javascript: 352; makefile: 137; csh: 36; sh: 8
file content (28 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Ole Streicher <olebole@debian.org>
Date: Thu, 13 Jul 2023 22:20:42 +0200
Subject: Skip test that leads to a mem alloc error on mipsel

---
 yt/visualization/volume_rendering/tests/test_zbuff.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/yt/visualization/volume_rendering/tests/test_zbuff.py b/yt/visualization/volume_rendering/tests/test_zbuff.py
index a055e41..1401cf5 100644
--- a/yt/visualization/volume_rendering/tests/test_zbuff.py
+++ b/yt/visualization/volume_rendering/tests/test_zbuff.py
@@ -2,6 +2,7 @@ import os
 import shutil
 import tempfile
 from unittest import TestCase
+import unittest
 
 import numpy as np
 from numpy.testing import assert_almost_equal
@@ -50,6 +51,7 @@ class ZBufferTest(TestCase):
             os.chdir(self.curdir)
             shutil.rmtree(self.tmpdir)
 
+    @unittest.skip("Leads to memory alloc error on mipsel")
     def test_composite_vr(self):
         ds = fake_random_ds(64)
         dd = ds.sphere(ds.domain_center, 0.45 * ds.domain_width[0])