Skip to content

Commit

Permalink
Minor clean-ups in test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
unhyperbolic committed Jul 27, 2024
1 parent 6295d01 commit aa80e5f
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions python/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
tk_root, root_is_fake, DocTestParser)
from snappy import numeric_output_checker

# The following line doesn't seem to be needed. Can we just remove it?
# MG 2024-07-26
snappy.database.Manifold = snappy.SnapPy.Manifold

# Augment tests for SnapPy with those that Cython missed
Expand Down Expand Up @@ -47,26 +49,30 @@
# sets run_doctests' name.
spherogram.test.run_doctests.__name__ = spherogram.__name__

modules = [ snappy.exterior_to_link.test.run_doctests,
numeric_output_checker.run_doctests,
snappy.number,
snappy.SnapPy,
snappy.SnapPyHP,
snappy.database,
snappy,
snappy.snap.test.run_doctests,
snappy.matrix,
snappy.geometric_structure.test.run_doctests,
snappy.tiling.test.run_doctests,
snappy.cusps.test.run_doctests,
snappy.raytracing.test.run_doctests,
snappy.len_spec.test.run_doctests,
snappy.drilling.test.run_doctests,
snappy.ptolemy.test.run_doctests,
spherogram.test.run_doctests,
snappy.verify.test.run_doctests]

slow_modules = [ snappy.ptolemy.test.run_ptolemy_tests ]
modules = [
snappy.exterior_to_link.test.run_doctests,
numeric_output_checker.run_doctests,
snappy.number,
snappy.SnapPy,
snappy.SnapPyHP,
snappy.database,
snappy,
snappy.snap.test.run_doctests,
snappy.matrix,
snappy.geometric_structure.test.run_doctests,
snappy.tiling.test.run_doctests,
snappy.cusps.test.run_doctests,
snappy.raytracing.test.run_doctests,
snappy.len_spec.test.run_doctests,
snappy.drilling.test.run_doctests,
snappy.ptolemy.test.run_doctests,
spherogram.test.run_doctests,
snappy.verify.test.run_doctests
]

slow_modules = [
snappy.ptolemy.test.run_ptolemy_tests
]

def graphics_failures(verbose, windows, use_modernopengl):
if cyopengl_works():
Expand Down

0 comments on commit aa80e5f

Please sign in to comment.