Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5397)

Unified Diff: chrome/common/extensions/docs/server2/api_data_source_test.py

Issue 11079010: Extensions Docs Server: Preserve JSON declaration order in extensions documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated with the new simplejson Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/api_data_source_test.py
diff --git a/chrome/common/extensions/docs/server2/api_data_source_test.py b/chrome/common/extensions/docs/server2/api_data_source_test.py
index 6fde6cecfc3497f9e2ed7549253d5a7208e96ea3..6ff7102dfc63dc87a87467ce457aa4c5010adce9 100755
--- a/chrome/common/extensions/docs/server2/api_data_source_test.py
+++ b/chrome/common/extensions/docs/server2/api_data_source_test.py
@@ -17,7 +17,6 @@ from file_system import FileNotFoundError
from in_memory_object_store import InMemoryObjectStore
from local_file_system import LocalFileSystem
from reference_resolver import ReferenceResolver
-import third_party.json_schema_compiler.json_comment_eater as comment_eater
import third_party.json_schema_compiler.model as model
def _MakeLink(href, text):
@@ -86,7 +85,7 @@ class APIDataSourceTest(unittest.TestCase):
self.assertRaises(FileNotFoundError, data_source.get, 'junk')
def _LoadJSON(self, filename):
- return json.loads(comment_eater.Nom(self._ReadLocalFile(filename)))
+ return json.loads(self._ReadLocalFile(filename))
def testCreateId(self):
data_source = FakeAPIAndListDataSource(
« no previous file with comments | « chrome/common/extensions/docs/server2/api_data_source.py ('k') | chrome/common/extensions/docs/server2/build_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698