Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
f7e9f654
Commit
f7e9f654
authored
9 years ago
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Can't use inner classes, shows up as a leak in the lint environment.
parent
bb785fc1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
greentest/test__pywsgi.py
greentest/test__pywsgi.py
+13
-13
No files found.
greentest/test__pywsgi.py
View file @
f7e9f654
...
@@ -1446,7 +1446,6 @@ class Test414(TestCase):
...
@@ -1446,7 +1446,6 @@ class Test414(TestCase):
class
Test663
(
TestCase
):
class
Test663
(
TestCase
):
def
init_logger
(
self
):
# Something that gets wrapped in a LoggingLogAdapter
# Something that gets wrapped in a LoggingLogAdapter
class
Logger
(
object
):
class
Logger
(
object
):
accessed
=
None
accessed
=
None
...
@@ -1462,7 +1461,8 @@ class Test663(TestCase):
...
@@ -1462,7 +1461,8 @@ class Test663(TestCase):
def
get_thing
(
self
):
def
get_thing
(
self
):
return
self
.
thing
return
self
.
thing
return
Logger
()
def
init_logger
(
self
):
return
self
.
Logger
()
def
test_proxy_methods_on_log
(
self
):
def
test_proxy_methods_on_log
(
self
):
# An object that looks like a logger gets wrapped
# An object that looks like a logger gets wrapped
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment