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

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

Issue 5178: Add context manager for temporary directory
Left Patch Set: Created 8 years, 11 months ago
Right Patch Set: Created 8 years, 11 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_bsddb3.py ('k') | Lib/test/test_shelve.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
1 ''' 1 '''
2 Tests for commands module 2 Tests for commands module
3 Nick Mathewson 3 Nick Mathewson
4 ''' 4 '''
5 import unittest 5 import unittest
6 import os, tempfile, re 6 import os, tempfile, re
7 import warnings 7 import warnings
8 8
9 warnings.filterwarnings('ignore', r".*commands.getstatus.. is deprecated", 9 warnings.filterwarnings('ignore', r".*commands.getstatus.. is deprecated",
10 DeprecationWarning) 10 DeprecationWarning)
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 self.assert_(re.match(pat, getstatus("/."), re.VERBOSE)) 54 self.assert_(re.match(pat, getstatus("/."), re.VERBOSE))
55 55
56 56
57 def test_main(): 57 def test_main():
58 run_unittest(CommandTests) 58 run_unittest(CommandTests)
59 reap_children() 59 reap_children()
60 60
61 61
62 if __name__ == "__main__": 62 if __name__ == "__main__":
63 test_main() 63 test_main()
LEFTRIGHT

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