enthought / enthought/mayavi

Consistent test errors on MacOSX

Open
#359 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

The following test errors occur on my mac consistently on master.

```
======================================================================
ERROR: Tests if TVTK scene can be garbage collected.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sborini/Work/github/mayavi/tvtk/tests/test_garbage_collection.py", line 26, in test_tvtk_scene
self.check_object_garbage_collected(create_fn, close_fn)
File "/Users/sborini/Work/github/mayavi/tvtk/tests/common.py", line 61, in check_object_garbage_collected
self.assertTrue(object_collected[0])
IndexError: list index out of range

======================================================================
ERROR: Test if custom modules can be imported.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/sborini/Work/github/mayavi/tvtk/tests/test_tvtk.py", line 107, in test_custom
r = tvtk.XMLDataReader()
File "tvtk_classes/xml_data_reader.py", line 46, in __init__
tvtk_base.TVTKBase.__init__(self, vtk.vtkXMLDataReader, obj, update, **traits)
File "/Users/sborini/Work/github/mayavi/tvtk/tvtk_base.py", line 321, in __init__
self._vtk_obj = klass()
TypeError: this is an abstract class and cannot be instantiated

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.