diff options
| author | jonathan vanasco <jonathan@2xlp.com> | 2019-11-05 15:00:05 -0500 |
|---|---|---|
| committer | jonathan vanasco <jonathan@2xlp.com> | 2019-11-05 15:00:05 -0500 |
| commit | eb0a46010a119d3ede2e89e4b0a61cbfb533d473 (patch) | |
| tree | 444a26a2ec1fc74618456707138f1774d222bc7b /tests | |
| parent | 4a46827769bbe181070a74927aa4e988a4cc3112 (diff) | |
| download | pyramid-eb0a46010a119d3ede2e89e4b0a61cbfb533d473.tar.gz pyramid-eb0a46010a119d3ede2e89e4b0a61cbfb533d473.tar.bz2 pyramid-eb0a46010a119d3ede2e89e4b0a61cbfb533d473.zip | |
black 19.10b0 was released on 2019.10.28 and introduced several changes that affect Pyramid
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_authentication.py | 2 | ||||
| -rw-r--r-- | tests/test_router.py | 2 | ||||
| -rw-r--r-- | tests/test_testing.py | 2 | ||||
| -rw-r--r-- | tests/test_traversal.py | 4 | ||||
| -rw-r--r-- | tests/test_url.py | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_authentication.py b/tests/test_authentication.py index 710e87423..cb2a0a035 100644 --- a/tests/test_authentication.py +++ b/tests/test_authentication.py @@ -398,7 +398,7 @@ class TestRepozeWho1AuthenticationPolicy(unittest.TestCase): self.assertEqual(policy.effective_principals(request), [Everyone]) def test_effective_principals_repoze_who_userid_is_unclean_Authenticated( - self + self, ): from pyramid.security import Everyone diff --git a/tests/test_router.py b/tests/test_router.py index 722f4286c..f6b7f64d3 100644 --- a/tests/test_router.py +++ b/tests/test_router.py @@ -434,7 +434,7 @@ class TestRouter(unittest.TestCase): self.assertEqual(request.root, context) def test_call_view_registered_nonspecific_nondefault_path_and_subpath( - self + self, ): from pyramid.interfaces import IViewClassifier diff --git a/tests/test_testing.py b/tests/test_testing.py index ebeafe21d..d0e974a58 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -55,7 +55,7 @@ class TestDummyResource(unittest.TestCase): return klass(name, parent, **kw) def test__setitem__and__getitem__and__delitem__and__contains__and_get( - self + self, ): class Dummy: pass diff --git a/tests/test_traversal.py b/tests/test_traversal.py index 188ee803c..fdb0bcbb7 100644 --- a/tests/test_traversal.py +++ b/tests/test_traversal.py @@ -1270,8 +1270,8 @@ class DummyContext(object): class DummyRequest: application_url = ( - 'http://example.com:5432' - ) # app_url never ends with slash + 'http://example.com:5432' # app_url never ends with slash + ) matchdict = None matched_route = None diff --git a/tests/test_url.py b/tests/test_url.py index 648f48d53..c5c0ca09f 100644 --- a/tests/test_url.py +++ b/tests/test_url.py @@ -940,7 +940,7 @@ class TestURLMethodsMixin(unittest.TestCase): self.assertEqual(result, 'http://example.com:8080') def test_partial_application_url_with_http_host_nondefault_port_https( - self + self, ): environ = {'wsgi.url_scheme': 'https', 'HTTP_HOST': 'example.com:4443'} request = self._makeOne(environ) |
