Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6a9a331b
Commit
6a9a331b
authored
7 years ago
by
Miss Islington (bot)
Committed by
Serhiy Storchaka
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-31924: Fix test_curses on NetBSD 8. (GH-4228) (#4260)
(cherry picked from commit
a7723d8b
)
parent
c713837e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Lib/test/test_curses.py
Lib/test/test_curses.py
+4
-2
No files found.
Lib/test/test_curses.py
View file @
6a9a331b
...
...
@@ -319,7 +319,8 @@ class TestCurses(unittest.TestCase):
@
requires_curses_func
(
'panel'
)
def
test_userptr_segfault
(
self
):
panel
=
curses
.
panel
.
new_panel
(
self
.
stdscr
)
w
=
curses
.
newwin
(
10
,
10
)
panel
=
curses
.
panel
.
new_panel
(
w
)
class
A
:
def
__del__
(
self
):
panel
.
set_userptr
(
None
)
...
...
@@ -328,7 +329,8 @@ class TestCurses(unittest.TestCase):
@
requires_curses_func
(
'panel'
)
def
test_new_curses_panel
(
self
):
panel
=
curses
.
panel
.
new_panel
(
self
.
stdscr
)
w
=
curses
.
newwin
(
10
,
10
)
panel
=
curses
.
panel
.
new_panel
(
w
)
self
.
assertRaises
(
TypeError
,
type
(
panel
))
@
requires_curses_func
(
'is_term_resized'
)
...
...
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