Skip to content

Commit

Permalink
disable test_old when mocks are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenkov committed Mar 11, 2020
1 parent bb7e7d2 commit 6506562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions smart_open/tests/test_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ def test_list_bucket_long(self):
expected = ['key_%d' % x for x in range(num_keys)]
self.assertEqual(sorted(keys), sorted(expected))

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

0 comments on commit 6506562

Please sign in to comment.