Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Unified Diff: Lib/importlib/test/source/test_file_loader.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/idlelib/PyShell.py ('k') | Lib/inspect.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/importlib/test/source/test_file_loader.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/importlib/test/source/test_file_loader.py Mon Jul 25 09:47:18 2011 -0400
@@ -214,7 +214,7 @@
lambda bc: bc[:8] + b'<test>',
del_source=del_source)
file_path = mapping['_temp'] if not del_source else bytecode_path
- with self.assertRaises(EOFError):
+ with self.assertRaises(ValueError):
self.import_(file_path, '_temp')
def _test_bad_magic(self, test, *, del_source=False):
« no previous file with comments | « Lib/idlelib/PyShell.py ('k') | Lib/inspect.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+