-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
env
- Windows10
- ecell 4.2.0
- miniconda Python 3.7.1
Errors
(base) C:\Users\a\ecell4\python\tests>python -m unittest
EEE.......E.EE.
======================================================================
ERROR: test1 (core.test_context.ContextText)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\a\ecell4\python\tests\core\test_context.py", line 13, in test1
self.assertEqual(sp1.count(Species("A")), 1)
File "lib\ecell4\Species.pxi", line 245, in ecell4.core.Species.count
RuntimeError: deprecated
======================================================================
ERROR: test2 (core.test_context.ContextText)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\a\ecell4\python\tests\core\test_context.py", line 18, in test2
self.assertEqual(sp1.count(Species("A.B")), 1)
File "lib\ecell4\Species.pxi", line 245, in ecell4.core.Species.count
RuntimeError: deprecated
======================================================================
ERROR: test3 (core.test_context.ContextText)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\a\ecell4\python\tests\core\test_context.py", line 23, in test3
self.assertEqual(sp1.count(Species("A(p=u^1).B(b^1)")), 1)
File "lib\ecell4\Species.pxi", line 245, in ecell4.core.Species.count
RuntimeError: deprecated
======================================================================
ERROR: test2 (core.test_species.SpeciesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\a\ecell4\python\tests\core\test_species.py", line 21, in test2
self.assertEqual(sp.num_units(), 3)
AttributeError: 'ecell4.core.Species' object has no attribute 'num_units'
======================================================================
ERROR: test4 (core.test_species.SpeciesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\a\ecell4\python\tests\core\test_species.py", line 51, in test4
sp.deserialize('A.B.C')
AttributeError: 'ecell4.core.Species' object has no attribute 'deserialize'
======================================================================
ERROR: test5 (core.test_species.SpeciesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\a\ecell4\python\tests\core\test_species.py", line 66, in test5
self.assertEqual(sp.num_units(), 2)
AttributeError: 'ecell4.core.Species' object has no attribute 'num_units'
----------------------------------------------------------------------
Ran 15 tests in 0.003s
FAILED (errors=6)