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

Delta Between Two Patch Sets: Lib/test/test_platform.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_pipes.py ('k') | Lib/test/test_poll.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 from unittest import mock 1 from unittest import mock
2 import os 2 import os
3 import platform 3 import platform
4 import subprocess 4 import subprocess
5 import sys 5 import sys
6 import tempfile 6 import tempfile
7 import unittest 7 import unittest
8 import warnings 8 import warnings
9 9
10 from test import support 10 from test import support
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 def test_linux_distribution_deprecation(self): 341 def test_linux_distribution_deprecation(self):
342 with self.assertWarns(PendingDeprecationWarning) as cm: 342 with self.assertWarns(PendingDeprecationWarning) as cm:
343 platform.linux_distribution() 343 platform.linux_distribution()
344 self.assertEqual(str(cm.warning), 344 self.assertEqual(str(cm.warning),
345 'dist() and linux_distribution() functions are ' 345 'dist() and linux_distribution() functions are '
346 'deprecated in Python 3.5 and will be removed in ' 346 'deprecated in Python 3.5 and will be removed in '
347 'Python 3.7') 347 'Python 3.7')
348 348
349 if __name__ == '__main__': 349 if __name__ == '__main__':
350 unittest.main() 350 unittest.main()
LEFTRIGHT

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