In preparing the NixOS package for 3.9.1, we noticed the test_fail test failed. This is when run against paste 3.5.0 on x86_64 linux with python 3.8 or 3.9.
__________________________________ test_fail ___________________________________
def test_fail():
setup()
assert not runapp(fail=True, use_transaction=True)
assert names() == []
setup()
assert not runapp(fail=True, use_transaction=False)
assert names() == ['app1', 'app2']
setup()
assert not runapp(fail=True, begin=True, use_transaction=True)
> assert names() == ['app1']
E AssertionError: assert ['app1', 'app2'] == ['app1']
E Left contains one more item: 'app2'
E Use -v to get the full diff
sqlobject/tests/test_paste.py:75: AssertionError
It seems as though the transaction is failing to be rolled back when the assertion failure at
causes execution to fall out of the app.
Full build log available at https://hydra.nixos.org/log/mbdj9hkzf2ixqjlqfixskhvss838jpvf-python3.8-SQLObject-3.9.1.drv
In preparing the NixOS package for 3.9.1, we noticed the
test_failtest failed. This is when run against paste 3.5.0 on x86_64 linux with python 3.8 or 3.9.It seems as though the transaction is failing to be rolled back when the assertion failure at
sqlobject/sqlobject/tests/test_paste.py
Line 28 in c3933b8
Full build log available at https://hydra.nixos.org/log/mbdj9hkzf2ixqjlqfixskhvss838jpvf-python3.8-SQLObject-3.9.1.drv