mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #71253 from jonringer/fix-python35-sqlalchemy
python35Packages.sqlalchemy: fix tests
This commit is contained in:
commit
c24eb82c7d
@ -1,4 +1,4 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k, isPy35
|
||||
, mock
|
||||
, pysqlite
|
||||
, pytest
|
||||
@ -22,7 +22,9 @@ buildPythonPackage rec {
|
||||
sed -e 's:--max-worker-restart=5::g' -i setup.cfg
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
checkPhase = if isPy35 then ''
|
||||
pytest test -k 'not exception_persistent_flush_py3k'
|
||||
'' else ''
|
||||
pytest test
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user