From 58170b192033f5ec5f464b247dd2bed053f0d816 Mon Sep 17 00:00:00 2001 From: Christian Heider Nielsen Date: Mon, 1 Apr 2019 15:47:29 +0200 Subject: [PATCH 1/2] test annotation removed --- tests/test_pqp.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_pqp.py b/tests/test_pqp.py index 99de716..ef6604c 100644 --- a/tests/test_pqp.py +++ b/tests/test_pqp.py @@ -40,7 +40,6 @@ def test_integration_func(): print(a) -@pytest.mark.slow def test_lambda_func(): task = lambda x: x @@ -49,7 +48,6 @@ def test_lambda_func(): print(a) -# @pytest.mark.slow def test_integration_except(): task = Exc() @@ -73,3 +71,7 @@ def test_integration_except_ctx(): print(a) assert exc_info.type is NotImplementedError + + +if __name__ == "__main__": + test_lambda_func() From f86366f57e578dc256b08369681b075b7cba6e71 Mon Sep 17 00:00:00 2001 From: Christian Heider Nielsen Date: Mon, 1 Apr 2019 16:00:18 +0200 Subject: [PATCH 2/2] Add cloudpickle --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 43091d0..804278a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ numpy==1.16.2 six==1.12.0 sorcery==0.1.0 -pytest==4.3.1 \ No newline at end of file +pytest==4.3.1 +cloudpickle \ No newline at end of file