Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
LARGE_BLOCK_SIZE = 6 * 1024 * 1024

# ------------------------------------------------------------------------------

if platform.python_implementation() == 'PyPy':
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to import platform

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did that :D

pytest.skip("Skip tests for Pypy", allow_module_level=True)

class StorageLargeBlockBlobTest(StorageTestCase):
def setUp(self):
Expand Down
2 changes: 2 additions & 0 deletions sdk/storage/azure-storage-queue/tests/test_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ def test_unicode_create_queue_unicode_name(self):

@record
def test_unicode_get_messages_unicode_data(self):
pytest.skip("Uncomment after msrest fix")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible that we could make this skip conditional on Python 2.7?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

# Action
queue_client = self._create_queue()
queue_client.enqueue_message(u'message1㚈')
Expand All @@ -830,6 +831,7 @@ def test_unicode_get_messages_unicode_data(self):

@record
def test_unicode_update_message_unicode_data(self):
pytest.skip("Uncomment after msrest fix")
# Action
queue_client = self._create_queue()
queue_client.enqueue_message(u'message1')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_set_access_policy(self):
queue_client.create_queue()
except ResourceExistsError:
pass
queue_client.enqueue_message('hello world')
queue_client.enqueue_message(u"hello world")

try:
# [START set_access_policy]
Expand Down