mpi_array.update_test.MpiHaloSingleExtentUpdateTest

class mpi_array.update_test.MpiHaloSingleExtentUpdateTest(methodName='runTest')[source]

Bases: mpi_array.unittest.TestCase

Tests for mpi_array.distribution.MpiHaloSingleExtentUpdate.

Methods

__init__([methodName]) Create an instance of the class that will use the named test method when executed.
addCleanup(function, *args, **kwargs) Add a function, with arguments, to be called when the test is completed.
addTypeEqualityFunc(typeobj, function) Add a type specific assertEqual style function to compare a type.
assertArraySplitEqual(splt1, splt2) Compares list of numpy.ndarray results returned by numpy.mpi_array() and mpi_array.split.mpi_array() functions.
countTestCases()
debug() Run the test without collecting errors in a TestResult
defaultTestResult()
doCleanups() Execute all cleanup functions.
id()
run([result])
setUp()
setUpClass() Hook method for setting up class fixture before running tests in the class.
shortDescription() Returns a one-line description of the test, or None if no description has been provided.
skipTest(reason) Skip this test.
subTest([msg]) Return a context manager that will return the enclosed block of code in a subtest identified by the optional message and keyword parameters.
tearDown() Hook method for deconstructing the test fixture after testing it.
tearDownClass() Hook method for deconstructing the class fixture after running all tests in the class.
test_construct() Tests for mpi_array.distribution.MpiHaloSingleExtentUpdate.__init__().
test_data_type() Tests for mpi_array.distribution.MpiHaloSingleExtentUpdate.__str__().
test_str() Tests for mpi_array.distribution.MpiHaloSingleExtentUpdate.__str__().

Attributes

longMessage
maxDiff