Bug 2019426 - libsbml fails to build with Python 3.11: AttributeError: 'TestReadFromFile3' object has no attribute 'assert_'
Summary: libsbml fails to build with Python 3.11: AttributeError: 'TestReadFromFile3'...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libsbml
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS PYTHON3.11
TreeView+ depends on / blocked
 
Reported: 2021-11-02 14:23 UTC by Tomáš Hrnčiar
Modified: 2021-11-08 19:03 UTC (History)
6 users (show)

Fixed In Version: libsbml-5.19.0-9.fc36
Clone Of:
Environment:
Last Closed: 2021-11-08 19:03:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-11-02 14:23:21 UTC
libsbml fails to build with Python 3.11.0a1.
32: ======================================================================
32: ERROR: test_read_l1v1_rules (TestReadFromFile3.TestReadFromFile3)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestReadFromFile3.py", line 45, in test_read_l1v1_rules
32:     self.assert_( d.getLevel() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestReadFromFile3' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_addUnit1 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 56, in test_UnitDefinition_addUnit1
32:     self.assert_( i == libsbml.LIBSBML_INVALID_OBJECT )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_addUnit2 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 70, in test_UnitDefinition_addUnit2
32:     self.assert_( i == libsbml.LIBSBML_VERSION_MISMATCH )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_addUnit3 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 81, in test_UnitDefinition_addUnit3
32:     self.assert_( i == libsbml.LIBSBML_LEVEL_MISMATCH )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_addUnit4 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 91, in test_UnitDefinition_addUnit4
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_FAILED )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_createUnit (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 99, in test_UnitDefinition_createUnit
32:     self.assert_( m.getNumUnits() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_setId1 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 107, in test_UnitDefinition_setId1
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_setName1 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 120, in test_UnitDefinition_setName1
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_setName2 (TestUnitDefinition_newSetters.TestUnitDefinition_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestUnitDefinition_newSetters.py", line 133, in test_UnitDefinition_setName2
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestUnitDefinition_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLConvertStrict_convertL1ParamRule (TestSBMLConvertStrict.TestSBMLConvertStrict)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSBMLConvertStrict.py", line 55, in test_SBMLConvertStrict_convertL1ParamRule
32:     self.assert_( d.setLevelAndVersion(2,1,True) == True )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSBMLConvertStrict' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLConvertStrict_convertNonStrictSBO (TestSBMLConvertStrict.TestSBMLConvertStrict)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSBMLConvertStrict.py", line 70, in test_SBMLConvertStrict_convertNonStrictSBO
32:     self.assert_( d.setLevelAndVersion(2,3,True) == False )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSBMLConvertStrict' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLConvertStrict_convertNonStrictUnits (TestSBMLConvertStrict.TestSBMLConvertStrict)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSBMLConvertStrict.py", line 102, in test_SBMLConvertStrict_convertNonStrictUnits
32:     self.assert_( d.setLevelAndVersion(2,1,True) == False )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSBMLConvertStrict' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLConvertStrict_convertSBO (TestSBMLConvertStrict.TestSBMLConvertStrict)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSBMLConvertStrict.py", line 123, in test_SBMLConvertStrict_convertSBO
32:     self.assert_( d.setLevelAndVersion(2,3,True) == True )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSBMLConvertStrict' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLConvertStrict_convertToL1 (TestSBMLConvertStrict.TestSBMLConvertStrict)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSBMLConvertStrict.py", line 144, in test_SBMLConvertStrict_convertToL1
32:     self.assert_( d.setLevelAndVersion(1,2,True) == True )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSBMLConvertStrict' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3_KineticLaw_addParameter1 (TestL3KineticLaw.TestL3KineticLaw)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3KineticLaw.py", line 56, in test_L3_KineticLaw_addParameter1
32:     self.assert_( i == libsbml.LIBSBML_INVALID_OBJECT )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3KineticLaw' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3_KineticLaw_addParameter2 (TestL3KineticLaw.TestL3KineticLaw)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3KineticLaw.py", line 79, in test_L3_KineticLaw_addParameter2
32:     self.assert_( i == libsbml.LIBSBML_INVALID_OBJECT )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3KineticLaw' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3_KineticLaw_create (TestL3KineticLaw.TestL3KineticLaw)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3KineticLaw.py", line 95, in test_L3_KineticLaw_create
32:     self.assert_( self.KL.getTypeCode() == libsbml.SBML_KINETIC_LAW )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3KineticLaw' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_CompartmentType_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 43, in test_CompartmentType_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_CompartmentType_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 55, in test_CompartmentType_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_CompartmentType_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 66, in test_CompartmentType_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Compartment_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 78, in test_Compartment_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Compartment_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 93, in test_Compartment_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Compartment_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 107, in test_Compartment_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 120, in test_Constraint_assignmentOperator
32:     self.assert_( o1.getMetaId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 154, in test_Constraint_clone
32:     self.assert_( o1.getMetaId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 187, in test_Constraint_copyConstructor
32:     self.assert_( o1.getMetaId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Delay_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 222, in test_Delay_assignmentOperator
32:     self.assert_( o1.getMath() != None )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Delay_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 236, in test_Delay_clone
32:     self.assert_( o1.getMath() != None )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Delay_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 249, in test_Delay_copyConstructor
32:     self.assert_( o1.getMath() != None )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 260, in test_EventAssignment_assignmentOperator
32:     self.assert_( o1.getVariable() ==  "c2" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 277, in test_EventAssignment_clone
32:     self.assert_( o1.getVariable() ==  "c2" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 293, in test_EventAssignment_copyConstructor
32:     self.assert_( o1.getVariable() ==  "c2" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Event_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 309, in test_Event_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Event_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 321, in test_Event_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Event_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 332, in test_Event_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_FunctionDefinition_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 343, in test_FunctionDefinition_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_FunctionDefinition_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 360, in test_FunctionDefinition_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_FunctionDefinition_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 376, in test_FunctionDefinition_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_InitialAssignment_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 392, in test_InitialAssignment_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_InitialAssignment_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 404, in test_InitialAssignment_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_InitialAssignment_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 415, in test_InitialAssignment_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_KineticLaw_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 429, in test_KineticLaw_assignmentOperator
32:     self.assert_( o1.getNumParameters() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_KineticLaw_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 446, in test_KineticLaw_clone
32:     self.assert_( o1.getNumParameters() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_KineticLaw_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 462, in test_KineticLaw_copyConstructor
32:     self.assert_( o1.getNumParameters() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_ListOf_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 480, in test_ListOf_assignmentOperator
32:     self.assert_( o2.size() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_ListOf_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 494, in test_ListOf_clone
32:     self.assert_( o2.size() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_ListOf_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 508, in test_ListOf_copyConstructor
32:     self.assert_( o2.size() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Parameter_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 518, in test_Parameter_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Parameter_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 530, in test_Parameter_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Parameter_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 541, in test_Parameter_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Reaction_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 552, in test_Reaction_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Reaction_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 572, in test_Reaction_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Reaction_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 591, in test_Reaction_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Rule_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 610, in test_Rule_assignmentOperator
32:     self.assert_( o1.getVariable() ==  "a" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Rule_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 627, in test_Rule_clone
32:     self.assert_( o1.getVariable() ==  "a" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Rule_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 643, in test_Rule_copyConstructor
32:     self.assert_( o1.getVariable() ==  "a" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLDocument_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 659, in test_SBMLDocument_assignmentOperator
32:     self.assert_( o1.getLevel() == 2 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLDocument_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 678, in test_SBMLDocument_clone
32:     self.assert_( o1.getLevel() == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SBMLDocument_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 698, in test_SBMLDocument_copyConstructor
32:     self.assert_( o1.getLevel() == 2 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesReference_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 710, in test_SpeciesReference_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesReference_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 722, in test_SpeciesReference_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesReference_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 733, in test_SpeciesReference_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 744, in test_SpeciesType_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 756, in test_SpeciesType_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 767, in test_SpeciesType_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Species_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 779, in test_Species_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Species_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 794, in test_Species_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Species_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 808, in test_Species_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Trigger_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 823, in test_Trigger_assignmentOperator
32:     self.assert_( o1.getMath() != None )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Trigger_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 837, in test_Trigger_clone
32:     self.assert_( o1.getMath() != None )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Trigger_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 850, in test_Trigger_copyConstructor
32:     self.assert_( o1.getMath() != None )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 861, in test_UnitDefinition_assignmentOperator
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 873, in test_UnitDefinition_clone
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_UnitDefinition_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 884, in test_UnitDefinition_copyConstructor
32:     self.assert_( o1.getId() ==  "c" )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Unit_assignmentOperator (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 895, in test_Unit_assignmentOperator
32:     self.assert_( o1.getKind() == libsbml.UNIT_KIND_MOLE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Unit_clone (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 907, in test_Unit_clone
32:     self.assert_( o1.getKind() == libsbml.UNIT_KIND_MOLE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Unit_copyConstructor (TestCopyAndClone.TestCopyAndClone)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestCopyAndClone.py", line 918, in test_Unit_copyConstructor
32:     self.assert_( o1.getKind() == libsbml.UNIT_KIND_MOLE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestCopyAndClone' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_create (TestConstraint.TestConstraint)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestConstraint.py", line 53, in test_Constraint_create
32:     self.assert_( self.C.getTypeCode() == libsbml.SBML_CONSTRAINT )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestConstraint' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_createWithNS (TestConstraint.TestConstraint)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestConstraint.py", line 67, in test_Constraint_createWithNS
32:     self.assert_( object.getTypeCode() == libsbml.SBML_CONSTRAINT )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestConstraint' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_setMath (TestConstraint.TestConstraint)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestConstraint.py", line 85, in test_Constraint_setMath
32:     self.assert_( self.C.getMath() != math )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestConstraint' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_Constraint_setMessage (TestConstraint.TestConstraint)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestConstraint.py", line 109, in test_Constraint_setMessage
32:     self.assert_( self.C.getMessage() != node )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestConstraint' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_read_l2v3_all (TestReadFromFile7.TestReadFromFile7)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestReadFromFile7.py", line 47, in test_read_l2v3_all
32:     self.assert_( d.getLevel() == 2 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestReadFromFile7' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_create (TestSpeciesType.TestSpeciesType)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSpeciesType.py", line 53, in test_SpeciesType_create
32:     self.assert_( self.CT.getTypeCode() == libsbml.SBML_SPECIES_TYPE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSpeciesType' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_createWithNS (TestSpeciesType.TestSpeciesType)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSpeciesType.py", line 69, in test_SpeciesType_createWithNS
32:     self.assert_( object.getTypeCode() == libsbml.SBML_SPECIES_TYPE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSpeciesType' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_setId (TestSpeciesType.TestSpeciesType)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSpeciesType.py", line 87, in test_SpeciesType_setId
32:     self.assert_(( id == self.CT.getId() ))
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSpeciesType' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_setName (TestSpeciesType.TestSpeciesType)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSpeciesType.py", line 102, in test_SpeciesType_setName
32:     self.assert_(( name == self.CT.getName() ))
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSpeciesType' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_SpeciesType_unsetName (TestSpeciesType.TestSpeciesType)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestSpeciesType.py", line 116, in test_SpeciesType_unsetName
32:     self.assert_((  "name"      == self.CT.getName() ))
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestSpeciesType' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_setMath1 (TestEventAssignment_newSetters.TestEventAssignment_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestEventAssignment_newSetters.py", line 55, in test_EventAssignment_setMath1
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestEventAssignment_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_setMath2 (TestEventAssignment_newSetters.TestEventAssignment_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestEventAssignment_newSetters.py", line 68, in test_EventAssignment_setMath2
32:     self.assert_( i == libsbml.LIBSBML_INVALID_OBJECT )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestEventAssignment_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_setVariable1 (TestEventAssignment_newSetters.TestEventAssignment_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestEventAssignment_newSetters.py", line 76, in test_EventAssignment_setVariable1
32:     self.assert_( i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestEventAssignment_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_EventAssignment_setVariable2 (TestEventAssignment_newSetters.TestEventAssignment_newSetters)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestEventAssignment_newSetters.py", line 83, in test_EventAssignment_setVariable2
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestEventAssignment_newSetters' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3Trigger_create (TestL3Trigger.TestL3Trigger)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3Trigger.py", line 53, in test_L3Trigger_create
32:     self.assert_( self.T.getTypeCode() == libsbml.SBML_TRIGGER )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3Trigger' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3Trigger_setInitialValue (TestL3Trigger.TestL3Trigger)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3Trigger.py", line 66, in test_L3Trigger_setInitialValue
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3Trigger' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3Trigger_setInitialValue1 (TestL3Trigger.TestL3Trigger)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3Trigger.py", line 78, in test_L3Trigger_setInitialValue1
32:     self.assert_( i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3Trigger' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3Trigger_setPersistent (TestL3Trigger.TestL3Trigger)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3Trigger.py", line 86, in test_L3Trigger_setPersistent
32:     self.assert_( i == libsbml.LIBSBML_OPERATION_SUCCESS )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3Trigger' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_L3Trigger_setPersistent1 (TestL3Trigger.TestL3Trigger)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestL3Trigger.py", line 98, in test_L3Trigger_setPersistent1
32:     self.assert_( i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestL3Trigger' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20306 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 46, in test_internal_consistency_check_20306
32:     self.assert_( errors == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20307 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 62, in test_internal_consistency_check_20307
32:     self.assert_( errors == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20419 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 76, in test_internal_consistency_check_20419
32:     self.assert_( errors == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20421 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 92, in test_internal_consistency_check_20421
32:     self.assert_( errors == 4 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20517 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 127, in test_internal_consistency_check_20517
32:     self.assert_( errors == 2 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20623 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 150, in test_internal_consistency_check_20623
32:     self.assert_( errors == 5 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20706 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 194, in test_internal_consistency_check_20706
32:     self.assert_( errors == 2 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20804 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 215, in test_internal_consistency_check_20804
32:     self.assert_( errors == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20805 (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call last):
32:   File "/builddir/build/BUILD/libSBML-5.19.0-Source/src/bindings/python/test/sbml/TestInternalConsistencyChecks.py", line 232, in test_internal_consistency_check_20805
32:     self.assert_( errors == 1 )
32:     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
32: AttributeError: 'TestInternalConsistencyChecks' object has no attribute 'assert_'
32: 
32: ======================================================================
32: ERROR: test_internal_consistency_check_20907_alg (TestInternalConsistencyChecks.TestInternalConsistencyChecks)
32: ----------------------------------------------------------------------
32: Traceback (most recent call l

Removed many old deprecated unittest features:
    TestCase method aliases failUnlessEqual, failIfEqual, failUnless, failIf,
    failUnlessRaises, failUnlessAlmostEqual, failIfAlmostEqual (deprecated in
    Python 3.1), assertEquals, assertNotEquals, assert_, assertAlmostEquals,
    assertNotAlmostEquals, assertRegexpMatches, assertRaisesRegexp (deprecated in
    Python 3.2), and assertNotRegexpMatches (deprecated in Python 3.5).

https://bugs.python.org/issue45162
https://docs.python.org/3.11/whatsnew/3.11.html


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02910209-libsbml/

For all our attempts to build libsbml with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/libsbml/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.11:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Ben Beasley 2021-11-03 17:40:47 UTC
Reported upstream with some suggestions toward a fix: https://github.com/sbmlteam/libsbml/issues/177

I offered a change to the test generator script that will fix this problem, but re-generating the tests (which it looks hasn’t been done in a long time) introduces some regressions.

Comment 2 Ben Beasley 2021-11-05 15:39:56 UTC
Discussion in the upstream issue lead me to offer a PR: https://github.com/sbmlteam/libsbml/pull/178

If upstream weighs in favorably on that, then I’ll make a downstream PR for the Fedora package.

Comment 3 Ben Beasley 2021-11-08 13:49:53 UTC
PR for review: https://src.fedoraproject.org/rpms/libsbml/pull-request/2

I’ll merge and build it myself as a neuro-sig member if there’s no comment in the next week or so.

Comment 4 Fedora Update System 2021-11-08 19:00:30 UTC
FEDORA-2021-2a18f6c700 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2a18f6c700

Comment 5 Fedora Update System 2021-11-08 19:03:39 UTC
FEDORA-2021-2a18f6c700 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.