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

Unified Diff: Lib/test/test_import/__init__.py

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 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/test/test_httpservers.py ('k') | Lib/test/test_importlib/extension/test_finder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_import/__init__.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/test/test_import/__init__.py Wed Mar 02 00:01:35 2016 +0000
@@ -273,16 +273,17 @@ class ImportTests(unittest.TestCase):
import sys
class C:
def __del__(self):
import importlib
sys.argv.insert(0, C())
"""))
script_helper.assert_python_ok(testfn)
+ @skip_if_dont_write_bytecode
def test_timestamp_overflow(self):
# A modification timestamp larger than 2**32 should not be a problem
# when importing a module (issue #11235).
sys.path.insert(0, os.curdir)
try:
source = TESTFN + ".py"
compiled = importlib.util.cache_from_source(source)
with open(source, 'w') as f:
« no previous file with comments | « Lib/test/test_httpservers.py ('k') | Lib/test/test_importlib/extension/test_finder.py » ('j') | no next file with comments »

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