Skip to content

Commit

Permalink
Merge pull request #34 from EPFL-LCSB/dev
Browse files Browse the repository at this point in the history
VER: release v0.9.1
  • Loading branch information
realLCSB committed Aug 29, 2019
2 parents cd59fa8 + 2e5a5a1 commit 8bd43fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_optim.py
Expand Up @@ -12,11 +12,12 @@

from cobra.test import create_test_model
import os
import sys
import pytfa
import pytfa.io

from settings import tmodel

import pytest


def test_variable_addition():
Expand Down Expand Up @@ -62,6 +63,8 @@ def test_constraint_addition():
assert the_name not in tmodel.constraints
assert cons1 not in getattr(tmodel, cons1.__attrname__)

@pytest.mark.xfail(sys.version_info < (3, 6),
reason="Container updates behave differently")
def test_relax_dgo():
global tmodel
from pytfa.optim.relaxation import relax_dgo
Expand All @@ -70,6 +73,8 @@ def test_relax_dgo():
tmodel.optimize()
relax_dgo(tmodel)

@pytest.mark.xfail(sys.version_info < (3, 6),
reason="Container updates behave differently")
def test_change_expression():
global tmodel
cons = list(tmodel._cons_dict.values())[0]
Expand Down

0 comments on commit 8bd43fd

Please sign in to comment.