am 1d758c90: Merge "adb unittest: make test_sync properly cleanup after itself"
* commit '1d758c90959225c76ed4d318290ad1bf11532409': adb unittest: make test_sync properly cleanup after itself
This commit is contained in:
commit
09a0d98beb
1 changed files with 2 additions and 1 deletions
|
|
@ -499,7 +499,8 @@ class FileOperationsTest(DeviceTest):
|
||||||
self.assertEqual(temp_file.checksum, dev_md5)
|
self.assertEqual(temp_file.checksum, dev_md5)
|
||||||
|
|
||||||
self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
|
self.device.shell(['rm', '-rf', self.DEVICE_TEMP_DIR])
|
||||||
shutil.rmtree(base_dir + self.DEVICE_TEMP_DIR)
|
if base_dir is not None:
|
||||||
|
shutil.rmtree(base_dir)
|
||||||
|
|
||||||
def test_unicode_paths(self):
|
def test_unicode_paths(self):
|
||||||
"""Ensure that we can support non-ASCII paths, even on Windows."""
|
"""Ensure that we can support non-ASCII paths, even on Windows."""
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue