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
8da4023e
Commit
8da4023e
authored
Jan 11, 2016
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out another test that won't pass after reverting the picklability
regression.
parent
607965eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
Lib/test/test_csv.py
Lib/test/test_csv.py
+11
-10
No files found.
Lib/test/test_csv.py
View file @
8da4023e
...
...
@@ -468,16 +468,17 @@ class TestDialectRegistry(unittest.TestCase):
self
.
assertRaises
(
TypeError
,
csv
.
reader
,
[],
quoting
=
-
1
)
self
.
assertRaises
(
TypeError
,
csv
.
reader
,
[],
quoting
=
100
)
def
test_copy
(
self
):
for
name
in
csv
.
list_dialects
():
dialect
=
csv
.
get_dialect
(
name
)
self
.
assertRaises
(
TypeError
,
copy
.
copy
,
dialect
)
def
test_pickle
(
self
):
for
name
in
csv
.
list_dialects
():
dialect
=
csv
.
get_dialect
(
name
)
for
proto
in
range
(
pickle
.
HIGHEST_PROTOCOL
+
1
):
self
.
assertRaises
(
TypeError
,
pickle
.
dumps
,
dialect
,
proto
)
# See issue #22995
## def test_copy(self):
## for name in csv.list_dialects():
## dialect = csv.get_dialect(name)
## self.assertRaises(TypeError, copy.copy, dialect)
## def test_pickle(self):
## for name in csv.list_dialects():
## dialect = csv.get_dialect(name)
## for proto in range(pickle.HIGHEST_PROTOCOL + 1):
## self.assertRaises(TypeError, pickle.dumps, dialect, proto)
class
TestCsvBase
(
unittest
.
TestCase
):
def
readerAssertEqual
(
self
,
input
,
expected_result
):
...
...
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