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

Delta Between Two Patch Sets: Lib/test/test_shelve.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_commands.py ('k') | Lib/test/test_tempfile.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 import os 1 import os
2 import unittest 2 import unittest
3 import shelve 3 import shelve
4 import glob 4 import glob
5 import tempfile 5 import tempfile
6 from test import test_support 6 from test import test_support
7 7
8 class TestCase(unittest.TestCase): 8 class TestCase(unittest.TestCase):
9 9
10 fn = "shelftemp" + os.extsep + "db" 10 fn = "shelftemp" + os.extsep + "db"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 TestBinaryFileShelve, 134 TestBinaryFileShelve,
135 TestProto2FileShelve, 135 TestProto2FileShelve,
136 TestAsciiMemShelve, 136 TestAsciiMemShelve,
137 TestBinaryMemShelve, 137 TestBinaryMemShelve,
138 TestProto2MemShelve, 138 TestProto2MemShelve,
139 TestCase 139 TestCase
140 ) 140 )
141 141
142 if __name__ == "__main__": 142 if __name__ == "__main__":
143 test_main() 143 test_main()
LEFTRIGHT

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