Skip to content

Commit 6506562

Browse files
committed
disable test_old when mocks are disabled
1 parent bb7e7d2 commit 6506562

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

smart_open/tests/test_s3.py

+1
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ def test_list_bucket_long(self):
460460
expected = ['key_%d' % x for x in range(num_keys)]
461461
self.assertEqual(sorted(keys), sorted(expected))
462462

463+
@unittest.skipIf(DISABLE_MOCKS, 'this test mysteriously fails when mocks are disabled')
463464
def test_old(self):
464465
"""Does s3_iter_bucket work correctly?"""
465466
#

0 commit comments

Comments
 (0)