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 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()