Skip to content

Commit

Permalink
FIX: Dont buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Dec 18, 2024
1 parent 07a11fb commit 932db26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/run-mayavi-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
QT_API: ${{ matrix.qt-api }}
TVTK_VERBOSE: 'true'
VTK_PARSER_VERBOSE: 'true'
PYTHONUNBUFFERED: '1'

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion tvtk/tests/test_tvtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,8 @@ def get_min_max_value(vtk_klass, vtk_attr_name):
setattr(obj, trait_name, (min_value-1, max_value))
with self.assertRaises(TraitError):
setattr(obj, trait_name, (min_value, max_value+1))
if on_gha:
print("::endgroup::")

def test_no_trait_has_ptr_address_as_value(self):
'''Test if none of the TVTK classes' traits has a value of "*_p_void"
Expand Down Expand Up @@ -954,7 +956,7 @@ def test_all_traits_can_be_obtained(self):
obj = getattr(tvtk, tvtk_klass_name)()
except Exception:
# testing for instantiation is above
pass
continue

for trait_name in obj._full_traitnames_list_:
try:
Expand Down

0 comments on commit 932db26

Please sign in to comment.