summaryrefslogtreecommitdiff
path: root/test_six.py
Commit message (Collapse)AuthorAgeFilesLines
* add 2016 to copyright yearsBenjamin Peterson2016-01-311-1/+1
|
* add License goop to all python files (fixes #137)Benjamin Peterson2015-10-201-0/+20
|
* improve performance of int2byte on python 3 (fixes #122)Benjamin Peterson2015-03-211-1/+1
|
* Merged in bartvm/six/create_unbound_method (pull request #64)Benjamin Peterson2015-03-201-0/+14
|\ | | | | | | Introduces a wrapper to create unbound methods.
| * Added testscreate_unbound_methodBart van Merrienboer2015-01-211-0/+14
| |
* | Specify skipif condition as stringsderekhiggins2015-03-191-1/+1
| | | | | | | | Specifying all conditions as strings is more consistent and will allow tests to pass on pytest < 2.4.
* | fix tests on Python 3.1 (fixes #113)Benjamin Peterson2015-01-221-1/+1
|/ | | | Patch by Arfrever Frehtes Taifersar Arahesis.
* support the flush parameter of print_ (fixes #106)Benjamin Peterson2015-01-021-0/+11
|
* assertRegex and assertRaisesRegex are 2.7+ only, tooBenjamin Peterson2015-01-021-0/+2
|
* Merged in graingert/six (pull request #48)Benjamin Peterson2015-01-021-0/+88
|\
| * Merged in timograham/six (pull request #57)Benjamin Peterson2015-01-021-0/+12
| |\ | | | | | | | | | Added unittest aliases.
| | * add test for issue #105Benjamin Peterson2014-12-091-0/+12
| | |
| * | Added unittest aliases.Tim Graham2014-11-251-0/+37
| |/
| * add raise_from (fixes #102)Benjamin Peterson2014-10-291-0/+21
| | | | | | | | Patch from Robert Collins.
| * It's skipIf, not skipifBrett Cannon2014-10-101-2/+2
| |
| * Drop kwargs tests for view*Brett Cannon2014-10-101-15/+2
| |
| * Address PR commentsBrett Cannon2014-10-051-14/+16
| |
| * Introduce viewkeys(), viewvalues(), and viewitems().Brett Cannon2014-10-031-0/+29
| | | | | | | | Closes issue #92
* | add tests for python_2_unicode_comapatibleThomas Grainger2014-09-161-0/+21
|/
* fix add_metaclass when there is a __weakref__ or __dict__ slot (closes #88)Benjamin Peterson2014-08-171-0/+4
|
* instantiate the exception if the value is None (fixes #86)Benjamin Peterson2014-08-021-0/+8
|
* Merged in harlowja/six (pull request #32)Benjamin Peterson2014-04-301-0/+1
|\ | | | | | | Add a wraps helper
| * Test to ensure that with_metaclass() does not insert any intermediary basesBen Davis2014-04-261-0/+1
| |
* | Add a test for wrapsJoshua Harlow2014-04-281-0/+18
|/
* Stop referencing deleted private attrs in test_dictionary_iterators.Erik Rose2014-03-191-3/+12
|
* raise an AttributeError for six.moves.X when X is a module not available in ↵Benjamin Peterson2014-03-131-1/+2
| | | | | | the current interpreter As discussed in https://github.com/pypa/pip/issues/1643.
* correct version check (fixes #52)Benjamin Peterson2014-01-051-1/+1
|
* fix test on Python 3Benjamin Peterson2014-01-041-2/+2
|
* consolidate and rename testsBenjamin Peterson2014-01-041-4/+1
|
* Merge upstream default into issue_19Marc Abramowitz2014-01-041-12/+66
|\
| * Merged in alexanderlukanin13/six/urllib_import_weirdness (pull request #22)Benjamin Peterson2014-01-041-12/+46
| |\ | | | | | | | | | moves import bug fixed
| | * add mapping for ttk (fixes #49)Benjamin Peterson2014-01-041-2/+5
| | |
| | * test_six.py: test_MAXSIZE allow ValueError or OverflowErrorMarc Abramowitz2013-12-261-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | because the previous code was expecting ValueError on Python 2.4, but I was getting OverflowError on Python 2.4.4 on OS X but ValueError on Python 2.4.6 on Ubuntu. So perhaps knowing which exception will be raised is not that straightforward, so I made it check for either one.
| | * Merged in msabramo/six/dont_fail_tests_if_dont_have_gdbm (pull request #25)Benjamin Peterson2013-12-251-5/+27
| | |\ | | | | | | | | | | | | Don't fail test if gdbm is not available
| | | * Merged in msabramo/six/issue_34_2 (pull request #24)Benjamin Peterson2013-12-251-0/+11
| | | |\ | | | | | | | | | | | | | | | Make dir() on six.moves modules return all attributes, despite lazy loading
| | | | * test_six.py: Don't check dir on python < 2.6Marc Abramowitz2013-12-251-5/+10
| | | | | | | | | | | | | | | | | | | | because pythons < 2.6 did not have __dir__ method
| | | | * Test that dir() returns attributes, despite lazy loadingMarc Abramowitz2013-12-091-0/+6
| | | | |
| | | * | fix add_metaclass when __slots__ is a string (fixes #47)Benjamin Peterson2013-12-201-0/+11
| | | | |
| | | * | adjust commentBenjamin Peterson2013-12-201-1/+1
| | | | |
| | | * | six.u 4-byte unicode escaping fixed ('\U00000439')alexanderlukanin132013-11-271-4/+4
| | | | |
| | | * | fixed six.u('\\\\') in Python 2alexanderlukanin132013-11-071-4/+4
| | | |/
| | * | Don't fail test if gdbm is not availableMarc Abramowitz2013-12-251-0/+11
| | |/
| * | moves import bug fixedalexanderlukanin132013-11-071-0/+20
| |/
* | Add tests for `from six.moves.queue import Queue` and `fromMarc Abramowitz2013-12-081-0/+10
| | | | | | | | six.moves.configparser import ConfigParser`
* | Merge from tip to issue_19Marc Abramowitz2013-12-081-0/+18
|\ \ | |/
| * fix grammarBenjamin Peterson2013-09-081-1/+1
| |
| * use builtin print function when possibleBenjamin Peterson2013-09-081-1/+1
| |
| * print_: encode unicode with file encoding and errors on Python 2 (fixes #35)Benjamin Peterson2013-09-081-0/+18
| |
* | Put six.moves modules in sys.modules so that they're importable (fixesMarc Abramowitz2013-09-071-1/+3
|/ | | | #19)
* skip tests for things not in 2.4/2.5Benjamin Peterson2013-09-011-0/+8
|