Skip to content

Commit 718956e

Browse files
committed
fix trailing whitespace in test_shelve.py
1 parent 9bc4eed commit 718956e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_shelve.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ def test_mode(self):
6666
# Bulletproof test for mode parameter
6767
import os
6868
import tempfile
69-
69+
7070
# Ek fresh temporary directory mein file banate hain
7171
with tempfile.TemporaryDirectory() as tmpdir:
7272
temp_fn = os.path.join(tmpdir, "test_shelf")
7373
try:
7474
# Sirf check karna hai ki 'mode' accept ho raha hai bina crash ke
7575
with shelve.open(temp_fn, mode=0o666) as s:
7676
s['key'] = 'value'
77-
77+
7878
# Check ki koi na koi file generate hui ya nahi
7979
self.assertTrue(len(os.listdir(tmpdir)) > 0)
8080
except Exception as e:
8181
self.fail(f"shelve.open failed with mode parameter: {e}")
82-
82+
8383
def test_open_template(self, filename=None, protocol=None):
8484
os.mkdir(self.dirname)
8585
self.addCleanup(os_helper.rmtree, self.dirname)

0 commit comments

Comments
 (0)