-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Run modernize print syntax fixer * Copy StringIO imports from carbon.util * Run python-modernize urllib_six fixer * Add six to project requirements * Manually fix a couple of urllib imports * Run python-modernize imports_six fixer * Manual fix for slots * Python 3 locations of izip and izip_longest * Another import of StringIO * These email.mime.* imports are the documented names even in Python 2 * Run 2to3 except syntax fixer * Run python-modernize relative import fixer * Make floor-ed numbers floats, like Python 2 * Compare byte strings for errors * Missing missing args test for Python 3 * Make a real list for test * Import reduce() function from Python 3 * Test response content against binary strings * Make SafeUnpickler work in Python 3 * Compare more response contents against byte strings * exc.message is already deprecated in Python 2, use str() instead * Test response content against byte string * Fix base64 encoding on Python 3 * Unbound methods in Python 3 are plain functions * Run python-modernize dict_six fixer, plus some manual tweaks * Compare another HTTP response content with a bytes string * Run python-modernize xrange_six fixer, plus some manual tweaks * Rich comparison methods for Interval class * Run python-modernize basestring fixer * Another comparison against a bytes string * Run python-modernize zip fixer * Avoid comparing None with integer * Replace next method with next() function for iterators * Compare responses as text * Ensure strings are encoded to bytes before md5 hashing * Write binary data to binary file * Use integer division when constructing ranges * Avoid comparing None with integer * Integer division to find indices in list * Fix isinstance(x, unicode) checks * Another comparison against a byte string * BufferedHTTPReader processes bytes * Bytes strings for HTTPResponse body * Integer division for various list manipulations * Process another HTTP response as bytes * Import reduce from functools * Make a list from the map() call * Replace compare functions with key functions * Avoid comparing None with integers * Integer division for making range * These sort the other way around * Fix response parsing and content sorting in metrics test * Bytes regexes for response contents * Fix expected HTML pattern for Python 3 * Make HTTPResponse objects with bytes data * Key functions for sorting that can't return None * Integer division to construct range * Truncate float to precision matching code being tested The code being tested - renderViewDygraph(), takes the str() of the number. Doing the same in the test code makes it match. * Add Python 3.6 to test configurations * Actually use Python 3.6 for py36 env in tox * Build docs with Django 1.x on Py2 * Tidy up imports for linter * Eliminate assert as required by codacy * Can we include a Python 3.6 Travis job like this? * Ugh, yaml * Fix setup script for Python 3 * Decode responses from redis on Python 3 * Switch cmp function to key function for sorting * Update classifiers for Python 3 compatibility * Update pinned requirements to latest versions * Remove references to simplejson * Assume cStringIO is available on Python 2 * support pypy, py3.4 & py3.5 * don't reach into ceres internals * Don't show u string prefixes in events view * Various code cleanup * Clarify Python 2 and 3 paths for SafeUnpickler * Helper function for tests to make JSON bytes * Use absolute import * Explain use of StringIO in setup * Remove unused import * Don't expect indented JSON for non-pretty tests * Add Python 3.4, 3.5 to classifiers
- Loading branch information
Showing
51 changed files
with
631 additions
and
531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.