Author: Luca Boccassi <luca.boccassi@microsoft.com>
Description: fix syntax warnings about == and literals
Forwarded: yes, https://github.com/Azure/azure-cosmos-table-python/pull/48
--- a/azure-cosmosdb-table/azure/cosmosdb/table/common/_connection.py
+++ b/azure-cosmosdb-table/azure/cosmosdb/table/common/_connection.py
@@ -79,7 +79,7 @@
                 path = parsed_url.path.rstrip('/')
 
                 self.primary_endpoint = parsed_url.netloc + path
-                self.protocol = self.protocol if parsed_url.scheme is '' else parsed_url.scheme
+                self.protocol = self.protocol if parsed_url.scheme == '' else parsed_url.scheme
             else:
                 if not self.account_name:
                     raise ValueError(_ERROR_STORAGE_MISSING_INFO)
--- a/azure-cosmosdb-table/tests/table/test_table.py
+++ b/azure-cosmosdb-table/tests/table/test_table.py
@@ -384,9 +384,9 @@
     @record
     def test_locale(self):
         # Arrange
-        if os.name is "nt":
+        if os.name == "nt":
             culture = "Spanish_Spain"
-        elif os.name is 'posix':
+        elif os.name == 'posix':
             culture = 'es_ES.UTF-8'
         else:
             culture = 'es_ES.utf8'
